Your Time:
Our Time:
← Back to discussions

Set different menu active link color for child pages

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 3 replies, 2 voices, and was last updated 12 years, 10 months ago by Fem.

Tagged: ,

  • 2013-11-08 at 6:03 pm
    Support Expired
    #589
    seansweet
    Participant
    • Topics: 3
    • Replies: 4
    • Total posts: 7
    • Post count: 4

    Hello,

    I’ve set an active link color for menu items. What happens is that when I’m on a parent page that tab in the menu becomes that color as well as the child page titles in the menu. But when I’m on one of the child pages, only the label for that page and the parent turns that color, and not the rest of the child pages. I know it’s logical but would it be possible to only have the parent label have an active link color when I’m on the parent page, and nothing else?

    I’ve attached screen shots of my menu. In the first one (14.30.18) I’m on the parent Products & Services page and in the second one (14.31.37) I’m on the child Identity Authentication page.

    Thank you in advance! (the theme is great, by the way! 🙂

    2013-11-08 at 7:13 pm
    #598
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    open hostmev2/css/skin.php file and find and replace the code shown below

    Find Code

    #atp_menu li.current-cat a, 
    #atp_menu li.current_page_item a,
    #atp_menu li.current-page-ancestor > a {  }
    

    Replace Code

    #atp_menu li.current-cat > a, 
    #atp_menu li.current_page_item > a,
    #atp_menu li.current-page-ancestor > a {  }
    
    2013-11-08 at 7:16 pm
    Support Expired
    #601
    seansweet
    Participant
    • Topics: 3
    • Replies: 4
    • Total posts: 7
    • Post count: 4

    Fantastic, thank you so much!

    2013-11-08 at 7:47 pm
    #610
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Your welcome anytime. 🙂 Kindly please give ratings to the theme if you have not yet given. For that please login to your themeforest account downloads section and beside the theme download button you can find the starts for ratings 🙂

You must be logged in to reply to this topic.