Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Modifying menus to have a line under the last item (or a dropdown box)


  #1  
Old Mar 27, 2013, 11:33 AM
riw777
 
33 posts · Jun 2009
Y'all:

I'd like to have a line under each menu item in the drop down, to better separate the menu items from the page that's under it. I've tried this:

ul.rMenu li a:link,
ul.rMenu li a:visited,
ul.rMenu li a:active,
ul.rMenu li {
border-bottom-style: solid 1px;
border-bottom-color: red;
}

To no avail... Another possibility would be to have a box around the entire drop down when a menu comes up. I don't want a box around each item individually, if possible...

Any ideas?

Russ
  #2  
Old Mar 27, 2013, 11:40 AM
juggledad's Avatar
juggledad
 
23,655 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try adding 'hover'
__________________
"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 27, 2013, 02:11 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
You can't combine the solid and width in the border-bottom-style and you don't need to designate active, visited etc. if you want the style to be the same no matter. To make this the easiest I would just use the following CSS shorthand for the border.
HTML Code:
ul.rMenu li {
border-bottom: solid 1px red;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by juggledad; Mar 27, 2013 at 03:58 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nifty Colours for dropdown menus SharonJ Forum How-To 0 Jan 21, 2011 06:24 PM
CSS style dropdown/flyout menus for sub-categories? phdm32009 Sidebars & Widgets 1 Aug 21, 2009 05:04 AM
Dropdown menus displace the page. zoefriedlander Page & Category Menu Bars 3 Apr 15, 2009 11:41 PM
CSS style dropdown/flyout menus for sub-categories? BigG Sidebars & Widgets 1 Apr 8, 2009 05:24 PM


All times are GMT -6. The time now is 01:36 PM.


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