Home>Support>current page background main menu vs submenu

current page background main menu vs submenu

By Henk, 9 years ago. Last reply by Magus, 9 years ago.

Hi,

I solved my other problem with the colours but this problem is to hard to fix for me.
I would like to see the colours of the main menu to be changed when I opened a submenu.

Main menu A ——> Submenu A
——> Submenu B
——> Submenu C

So for example, I opened Submenu C I would like to see a colour change in the main menu (main menu A for example) when I’m on that sub menu page.
The current page background and current page text doesn’t change in the main header menu when you click on the sub menu in the main menu?

What I mean is that when someone is clicking on a submenu you can see in which main menu he is by the changed colours.

Hope you understand me ;-))

Thanks for your help

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 4 months ago Magus
    Hi, I Work Here

    Hi Henk

    You can fix/change this with some custom CSS. If you navigate to Appearance > Custom CSS, you’ll get our custom CSS editor. Just add the following code.

    /* Vantage Current Menu Item Colors */
    
    .main-navigation ul li.current_page_parent > a, .main-navigation ul li.current_page_item > a { background-color: #dd3333 }
    .main-navigation ul li.current_page_parent > a, .main-navigation ul li.current_menu_item > a [class^="icon-"],
    .main-navigation ul li.current_page_parent > a, .main-navigation ul li.current_page_item > a [class^="icon-"] { color: #ffffff }
    

    replace the colour codes with those you want to use.

    If you do not have the Custom CSS option in your dashboard then you will need to use a plugin like this

    https://wordpress.org/plugins/simple-custom-css/

    Let us know how you get on

    Magus

  2. 9 years, 4 months ago Henk

    Hi Magus,

    Thanks for your help, it works!!!

    I do have the code so I can use the custom css. (just couldn’t find it ;-))

    Thanks.
    Henk

  3. 9 years, 4 months ago Magus
    Hi, I Work Here

    Hi Henk

    You are welcome.

    If you need any more help please feel free to open a new support thread.

    Magus

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More