Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] page menu options with sub-menus problem


  #1  
Old Mar 9, 2012, 12:24 PM
cway
 
154 posts · Jul 2009
For the life of me, I can't figure out why the width of items with sub-menus are wider than those items that don't have sub-menus.

http://www.trentstudios.com/

Services, Support, etc. have sub-menus.

Atahualpa 3.7.3
WP 3.3.1
  #2  
Old Mar 9, 2012, 12:36 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what do you have your submenu width defined as?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 9, 2012, 12:49 PM
cway
 
154 posts · Jul 2009
width of sub-menus is 20.

My custom CSS:

Code:
ul.rMenu {
padding: 0 !important;
margin: 0 !important;
list-style: none !important;
border: 0 !important;
background-color: #5c5a5a !important;
}
ul.rMenu li { 
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
}
ul.rMenu li a { 
margin: 0 !important;
padding: 0 !important;
border: solid 0px #5c5a5a;
background-image: URL(http://www.trentstudios.com/images/orangetab.png) !important;
background-repeat: no-repeat;
background-color: #5c5a5a !important;
width: 123px !important;
height: 35px !important;
}

div#menu1 ul.rMenu li:hover > a,
background-color: #5c5a5a !important;
ul.rMenu li a: hover {
border: solid 0px #5c5a5a;
background-image: URL(http://www.trentstudios.com/images/orangetab.png) !important;
background-repeat: no-repeat;
width: 123px !important;
height: 35px !important;
}
ul.rMenu li.current_page_item a {
background-color: #5c5a5a !important;
color: #FFF !important;
background-image: URL(http://www.trentstudios.com/images/orangetab.png) !important;
background-repeat: no-repeat;
width: 123px !important;
height: 35px !important;
}

#menu1 {
background-color: #5c5a5a !important;
margin: 0px;
border: solid 0px #5c5a5a !important;
}

ul.rMenu-ver {
padding: 0 !important;
margin: 0 !important;
list-style: none !important;
border: 0 !important;
}
ul.rMenu-ver li { 
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
}
ul.rMenu-ver li a { 
margin: 0 !important;
padding: 0 !important;
color: #FFF !important;
border: solid 0px #5c5a5a;
background-image: URL(http://www.trentstudios.com/images/dark-grey-sub-menu-background.gif) !important;
background-color: #5c5a5a !important;
}


li.rMenu-expand li {
width: 123px !important;
height: 35px !important;
margin: 0 !important;
padding: 0px !important;
}

.rMenu-expand page_item li {
width: 123px !important;
height: 35px !important;
margin: 0 !important;
padding: 0px !important;
}
  #4  
Old Mar 9, 2012, 01:07 PM
cway
 
154 posts · Jul 2009
Found it! See below.

Code:
/*---drop down arrows-----------------------------------*/
div#menu1 ul.rMenu-hor li.rMenu-expand a {
background-image: none;
padding-right: 0px !important;
}
div#menu2 ul.rMenu-hor li.rMenu-expand a {
background-image: none;
padding-right: 0px !important;
}

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Child sub menus overlap parent menus on H-Page menu bar cainj99 Page & Category Menu Bars 0 Jan 6, 2012 01:12 PM
[SOLVED] Problem with theme options menu -- please help! crashley1784 Atahualpa 3 Wordpress theme 2 Jan 4, 2011 02:45 PM
Page menu bar: Styling sub menus unelma Page & Category Menu Bars 5 Nov 16, 2010 12:15 AM
white in page menu bar, sub-menus cway Page & Category Menu Bars 1 Jul 16, 2010 02:50 PM


All times are GMT -6. The time now is 08:24 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.