ben1000
Member
Posted 3 years ago #
Hi there.
I am running the webfolio theme on http://www.ground-art.co.uk. The links on the main menu children are the correct colour on the Portfolio drop down, however, for some reason come up with no background on the about us and services drop downs.
Any ideas?
Thanks
WpThemesPlanet
Member
Posted 3 years ago #
Hello Ben, try this:
Considering you are using the "green style", open the "green.css" from css folder and add this line somewhere in the middle:
#topMenu UL.sf-menu LI LI.page_item {BORDER-BOTTOM: #e1e632 1px solid; BORDER-LEFT: #e1e632 1px solid; BACKGROUND: #c3cb10; BORDER-TOP: #e1e632 1px solid; BORDER-RIGHT: #e1e632 1px solid}
I hope that works.
[sig moderated as per the Forum Rules]
bhamrick
Member
Posted 3 years ago #
I think that's much more complicated than necessary. The problem is that wp_list_categories is assigning child unordered lists the "children" class, while wp_list_pages does not. Therefore you simply need to change the instance in green.css declaring the background (it looks to be line 60) to something that will include the links from wp_list_pages as well. You can probably simply change the selector to include all secondary ul's by removing the ".children", something like this:
#topMenu ul.sf-menu li ul
ben1000
Member
Posted 3 years ago #