Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Modifying menus to have a line under the last item (or a dropdown box) (http://forum.bytesforall.com/showthread.php?t=20006)

riw777 Mar 27, 2013 11:33 AM

Modifying menus to have a line under the last item (or a dropdown box)
 
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

juggledad Mar 27, 2013 11:40 AM

try adding 'hover'

lmilesw Mar 27, 2013 02:11 PM

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;
}



All times are GMT -6. The time now is 12:54 AM.

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