Active Link Color Change

  • Author
    Posts
  • #158831

    Hello!

    Whenever you visit a page from the top menu, the active page link displays as a pink/red (whatever the default color is). I’d like to change just that active page link text color (not all links displayed throughout the website) and the background as well. I tried all of the other relevant code I could find in this forum but no luck so far.

    Thanks!

    The blog I need help with is: (visible only to logged in users)

    #158858
    designorbital
    Theme Author

    Hi,
    Please try the following css snippet.

    
    .sf-menu > li li.current_page_item > a,
    .sf-menu > li li.current-menu-item > a {
        color: #FFDE24;
    }
    .sf-menu > li li.current_page_item,
    .sf-menu > li li.current-menu-item {
        background-color: #26412D;
    }
    

    Thanks

    #158914
    peacefulfieldssanctuary
    Member
    Original poster

    That is perfect! Thank you so much!

  • The topic ‘Active Link Color Change’ is closed to new replies.