How can I fix a custom CSS problem?

  • Unknown's avatar

    I’m using the Vigilance theme. My Custom CSS is not completely working. I can’t change the font color associated with .categories and .post-header.

    The original stylesheet has .post-header tags styled #444. My custom CSS tries to change them to #aaa but they still appear as #444.

    Also, the original stylesheet has .categories tags styled #333. My custom CSS tries to change them to #aaa, but they still appear as #333.
    Blog url: http://markwilliamsillustration.wordpress.com/

  • Howdy, thanks for getting in touch. The problem looks to be that your CSS isn’t specific enough. The .categories styles are originally set with this code:

    .post-footer .categories {
    color:#aaa;
    }
    
    .post-footer .categories a:link,.categories a:visited {
    color:#aaa;
    }

    This means that you’d need to use the similar .post-footer .categories selectors to override that and make changes. I’d recommend finding that section in your custom CSS and adjusting the color values there.

    Hope that helps get you all set up. Cheers!

  • The topic ‘How can I fix a custom CSS problem?’ is closed to new replies.