Support » Theme: Virtue » How to show active Tab in the main Nav-Bar

  • Resolved shaunvine

    (@shaunvine)


    Does anyone know what the custom CSS code is that will show the active Tab in the Main Menu? I would like to remove the page headings. The design would be a lot cleaner if the page that is active would show in the menu by a highlighted tab.

    Thanks.
    Shaun.

Viewing 15 replies - 1 through 15 (of 23 total)
  • Theme Author Kadence Themes

    (@britner)

    If you are using the latest version 1.5.3 which is available here: http://wordpress.org/themes/download/virtue.1.5.3.zip

    The css for active menu item is

    .current-menu-item

    Kadence Themes

    Thanks for the help. I still can’t get it to work.

    This is the css code I am using.

    #nav-main ul.sf-menu a:current-menu-item {
    background: #e5e2e2;
    }

    Thanks,
    Shaun.

    Theme Author Kadence Themes

    (@britner)

    close you just need to change a.current-menu-item

    not :

    Kadence Themes

    Will this work in the top bar too?

    I love this Theme, and would like to figure this menu out. I made the change from : to . however it still did not work. Is there some setting that is over riding the custom css?

    Thanks for your help.
    Shaun.

    Theme Author Kadence Themes

    (@britner)

    Are you using 1.5.3 from the link above. It won’t work if you aren’t.

    Yes this works on the topbar if using 1.5.3

    Kadence Themes

    Yes I had updated and still no change. I am not sure what I have wrong?

    #nav-main ul.sf-menu a.current-menu-item {
    background: #e5e2e2;
    }

    Thanks.

    Here is the link to the website.

    Home

    Theme Author Kadence Themes

    (@britner)

    Ok I understand. I should have looked at your link earlier and I would have put it all together in my head. So the correct call is:

    #nav-main ul.sf-menu li.current-menu-item a {background: #e5e2e2;}

    I saw you code and wasn’t thinking about how it worked just that you were using wrong punctuation. My apologies.

    Kadence Themes

    Oh! Thank you! It works perfectly.
    Thank you so much for your help.

    Regards,
    Shaun.

    Hello,
    I also need my tabs to be highlighted (or the link put into bold would be better). I have tried the same as Shaun has done, but didn’t do anything. My version is 1.5.0. (free version) I updated to the latest version on 2 days ago.
    Advice please

    I had to download the new version of the Theme to my computer and then upload to WP as a zip file. Once I did that the custom css code worked. Maybe check your code again? Sorry I can’t be of more help.

    Cheers for the message Shaun,
    Ive clicked the link and downloaded, but how do I now update my theme?

    Theme Author Kadence Themes

    (@britner)

    The next version 1.5.4 is live now so you can just update the theme

    Kadence Themes

    Hello again,
    Ive updated now to 1.5.4 and the menu tabs are working great ow thanks. But another menu has now appeared too. i think its from some css code that i put in a while ago, but i dont know which but as i only copied and pasted from someone else. Can someone look and tell me what I need to do please?

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘How to show active Tab in the main Nav-Bar’ is closed to new replies.