WordPress.org

Support

Support » Plugins and Hacks » Sticky Header by ThematoSoup » [Resolved] Can't change style of a:active in sticky menu?

[Resolved] Can't change style of a:active in sticky menu?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Slobodan Manic

    @slobodanmanic

    Hi,

    Glad you like the plugin.

    The selector you have there changes font weight when link is active (being clicked), you can see this if you click and hold any link in navigation.

    I guess what you wanted to do was make text bold in current page, for that you can use following selector:

    #thsp-sticky-header li.current-menu-item a
    Plugin Author Slobodan Manic

    @slobodanmanic

    Let me know if this helps and if you find our plugin useful please take time to rate it, to make it easier for other people to discover it:

    http://wordpress.org/support/view/plugin-reviews/sticky-header

    It works perfectly, thanks 🙂 I’ll rank the plug-in!

    Bold and underline seem to work, but I can’t make the color change using:

    #thsp-sticky-header li.current-menu-item a{
    text-decoration: underline;
    color: red; !important;
    font-weight: 600 !important;
    }

    Is there a way?
    Thanks

    PS I also tried:
    color: #FF0000; !important;

    SOLVED. Pilot error. Syntax.
    color: #FF0000 !important;
    Took out the extra semi-colon after the color code.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Can't change style of a:active in sticky menu?’ is closed to new replies.
Skip to toolbar