This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Theme Design / Menu / Current Page Background

10 years ago · Last reply by Support Assistants 10 years ago

Theme Design / Menu / Current Page Background

Is there a way for me to show the parent page as currently active when navigating to child page That isn’t displayed in my top level navigation.

Example of page showing Current Page Background:

Mortgages

Example of page I would like to see mortgages with the current Page background as the parent of the is page:
http://summit-finance.co.uk/mortgages/first-time-buyers/

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Support Assistants 10 years, 1 month ago

    Hi Kevin

    We’d need to do it manually. Try this:

    .page-id-113 li.menu-item-38 a {
    	background-color: #fff;
    	color: #000;
    }
  2. kevinmccourt 10 years, 1 month ago

    Hi I see that works for http://summit-finance.co.uk/mortgages/first-time-buyers/

    but it doesn’t work for all the the child pages. Can we not make a rule that would change the parent menu item when any of the child pages are open?

    Thanks

    Kevin

  3. Support Assistants 10 years, 1 month ago

    Ahh we can. Let’s try:

    .current-menu-parent a {
        background-color: #fff;
        color: #000 !important;
    }
  4. kevinmccourt 10 years, 1 month ago

    That’s brilliant. Thanks

  5. Support Assistants 10 years, 1 month ago

    For sure :)

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.

Have a different question or issue?

Start New Thread