Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Tracks!

    The underline is an :after pseudo-element. Its color can be changed with the following CSS:

    .more-link:after {
      background: #4d4d4d; /* dark gray */
    }

    Under each post title is a similar underline that can be styled as follows:

    .excerpt-header:after, .entry-header:after {
      background: #4d4d4d; /* dark gray */
    }

    Let me know how that works for you and if you need anything else, I’m happy to help.

    Thread Starter MethodMan

    (@nopopop)

    Thanks for pointing me in the right direction! There is one more I needed, and figured it out with your help: How to change the underline beneath the titles. The “:after” was really helpful. (I don’t quite understand how “:after” works, but it works!)

    In case anyone else needs to change the underline:

    .excerpt-header:after, .entry-header:after {
      background: #XXXXXX;
    }
    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome, glad you got it working ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing the Color of the Underline’ is closed to new replies.