• Hi there.

    I am running the webfolio theme on https://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

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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]

    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

    Thread Starter ben1000

    (@ben1000)

    That solved it, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Main Menu Bar Children Issue (Webfolio theme)’ is closed to new replies.