Forums

Change Active Nav Link Color - Untheme (2 posts)

  1. Bokeh123
    Member
    Posted 2 years ago #

    I'm using the Untheme template and almost have everything adjusted to my liking. I'd like to change the "active" color of my navigation links. I've added the following to the CSS below hover but it isn't working...

    #nav a:active {
    line-height: 30px;
    vertical-align: middle;
    color: #f9a807;
    text-decoration: none !important;
    }

    Ideas? Also, if there's a better way to get the nav links to be this color when active please let me know.

    Thank you!

  2. torvalt
    Member
    Posted 2 years ago #

    Hi,

    you must use a proper selector, for example:

    #nav a .active (Class)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.