Home>Support>menu with active page in different color

menu with active page in different color

By onurb, 9 years ago. Last reply by Andrew Misplon, 9 years ago.

hello, i’m newbie !
i’m using Vantage theme and i’d want to set the active page in menu with a different color.

i presume i have to change something in style.css
but where and what ?!?
i tried
a:active {background-color:#FF0000}
thanks !

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, 9 months ago onurb

    i saw the video about the appearence->customize->menu options

    but there, in my WP admin i have menu options but only ‘choose menu’ !!!!!

  2. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi onurb

    Thanks for reaching out.

    Please remember that any changes made directly to template files like style.css will be lost during theme updates. If you’re interested, please see our Custom CSS tutorial here: https://siteorigin.com/basics/modifying-theme-design-with-custom-css/.

    The Customizer options for this are contained in Vantage Premium. If you’d like to check that offering out, please head to Appearance > Vantage Premium.

    If you’d like to try this using CSS, insert the following into a Custom CSS plugin like Simple Custom CSS or Jetpack Custom CSS:

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

    And edit as required.

  3. 9 years, 9 months ago onurb

    thanks, but nothing change.

  4. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Please send through a link to your site and we’ll take a look. Thanks.

  5. 9 years, 9 months ago onurb

    thanks again, but i have no site to show on Internet, it is just for me and a private home net…!

  6. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    I tested this out now and it’s working well on my side.

    Do you have a custom menu saved to the theme’s primary menu location?

    To confirm, this CSS will highlight the page in the menu that’s currently being viewed by the user.

  7. 9 years, 9 months ago onurb

    no problem, i got your premium upgrade and it works…!

  8. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Win. Glad to hear it. Thanks for your support.

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