Vote count:
0
I apologize if this is a very simple question, but I guess its just one of those things that's got my mind boggled.
Right now I'm using the following CSS on my wordpress websites main navigation menu.
li ul.children{
position:absolute;
display:none;
}
li:hover ul.children{
display:block;
background-color:#000;
}
li.current_page_item ul.children, li.current_page_parent ul.children{
display:block;
}
Basically this CSS allows me to only display my child (submenu) links, when I hover over the parent.
As you can see in the image when I roll over the "reviews" link it displays the child links "Game Reviews" and "Movie Reviews". HOWEVER I want my child links to appear stacked in a list, rather than in-line like my parent links.
Any ideas?
asked 1 min ago
Wordpress menu.. Parent in-line, Child list
Aucun commentaire:
Enregistrer un commentaire