Home Forums Total Home button not showing selected in menu

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2508
    dude2k5
    Participant

    My menu shows every other page as “highlighted” when you are on that page, except the home page. Where would that setting be?

    #2555
    Hash
    Keymaster

    Can you please show your website?

    #2577
    dude2k5
    Participant
    #2589
    plimfec
    Participant

    I’m dealing with the same issue. I don’t get it done in the stylesheet, so any help is appreciated.

    Thanks in advance.

    #2625
    plimfec
    Participant

    I found the answer.

    You need to force the homepage link in your site menu to get the ‘current class’ (so you can call it in your stylesheet). You can do so in the backoffice of WordPress, like explained here:

    http://wordpress.stackexchange.com/questions/39529/when-at-or-home-my-menu-doesnt-get-a-current-menu-item-class (first answer)

    Then you add this to your custom stylesheet:

    .page-template-home-template .ht-main-navigation .current_page_item > a, .page-template-home-template .ht-main-navigation .current-menu-item > a {
    	background: #3366CC;
    	color: #FFFFFF;
    }

    You can put this code wherever you normally put your custom code, but best you use a child theme for it.

    #2627
    dude2k5
    Participant

    My man.

    That fixed it perfectly. Thank you very much for responding with the fix!!

    #2628
    plimfec
    Participant

    No problem, happy to help 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!Merry Christmas & Happy New Year!!
CHRISTMAS SALE ! 🎁🎁 Enjoy 30% OFF 🔖 Use Coupon CodeHOLIDAY at checkout.