![]() |
Styling the drop down sub menus, hover colour
This is something I have been wanting to do for ages, I can';t find any good guides and I have spent the weekend messing with the CSS to no good end result. The best way to describe what I want is to have a drop down menu look just like the drop down on the WP admin site bar.
I have no idea how to achieve this, the CSS menu section is so confusing I just don't know where to start. Here is an example of how I want the menu to look, slight transparency with same colors, border and shadow. http://www.lakewooditsupport.co.uk/w...ample_menu.jpg Here is a link to my site : http://lakewooditsupport.co.uk/ |
Does anyone know how I could just put a border around the drop down menu? and just for the selected page to turn grey on hover?
|
The menu's are the most complicated CSS with over 400 lines of CSS. this thread 'Juggledad's colored menu cheat sheet ' might help you figure it out.
|
I've used that code and got it to style the same as I have now, the problem I have is the sub menu uses the same style as the page menu. I want the page menu to stay the same and the sub page menu to have different style.
I have also tried to implement a transparent background but for some reason the text goes transparent. I have used this code. Code:
/* ================================================ */ |
the sub menus are a <li> in a <ul> that is in a <li> that is in a <ul> for example
HTML Code:
<div id="menu1"> (This is why there is so much CSS for the menu's) |
So I would have to aim the CSS the li parts being the child of the ul?
for example Code:
li.rMenu a:hover { |
right but
HTML Code:
li.rMenu a:hover { HTML Code:
ul.rMenu li a:hover { |
Thank you so much,
I finally have it working as needed. Here is the CSS insert that I used for other to see. Code:
/* ================================================ */ |
didi you try putting it on the ul?
|
I just used it on the modified li sub-menus, it achieved what I was after.
|
All times are GMT -6. The time now is 05:46 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.