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 » Header configuration & styling »

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


  #1  
Old Mar 27, 2013, 12:33 PM
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, 12:40 PM
juggledad's Avatar
juggledad
 
23,765 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, 03:11 PM
lmilesw's Avatar
lmilesw
 
10,176 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 04:58 PM.

Bookmarks



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


All times are GMT -6. The time now is 12:08 PM.


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