Change link color within WP.com Theme with the CSS Styleshooet

  • Unknown's avatar

    My site uses the WP.com platform. I have the premium version of the Hemingway Theme.

    I understand that I need programing code to change the link color across my site.

    I know how to choose the hexadecimal colors codes, but not how to write the command code itself.

    I simply need the correct code to put in the CSS window.

    PLEASE HELP ASAP!

    THANKS IN ADVANCE

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

  • Unknown's avatar

    Hi there, I’m looking at the “Stealthflation” link on your main page and see that you have set it to black from within the post editor. Since that is an HTML I would first suggest removing this from within the post editor (in the Text tab).
    style="text-decoration: underline; color: rgb(0, 0, 0);"

    You can then use the code you have in your custom CSS to style links on your site. This is the code, and I have added the underline declaration to it.

    a, a:visited, a:hover, a:focus, a:active, .entry-title a:hover {
        color: #3b5998;
        text-decoration: underline;
    }

    If you have added the code into a number of posts and pages for the color and text-decoration, we can force override it with the following CSS, but this is not the best way to do this and can cause problems later on.

    a, a:visited, a:hover, a:focus, a:active, .entry-title a:hover {
        color: #3b5998 !important;
    }

    Give the above a try and let us know.

  • Unknown's avatar

    Thank you for your time SacredPath.

    That home page has been set as a static page, so that I can have separate category blog post pages. This is principally so that I don’t have every single blog posts scrolling on the home page. It’s just too much, info overdrive. I like to categorize some for the reader.

    The real meat of the blog is: http://stealthflation.org/category/latest-stealth-posts/

    And, I finally figured out how to make the links the blue I wanted.

    So, I think I’m good to go now….

    You’re too kind………merci brother.

  • Unknown's avatar

    @stealthflation, glad you got it figured out and you are welcome.

  • Unknown's avatar

    You’re too kind. Thanks

  • The topic ‘Change link color within WP.com Theme with the CSS Styleshooet’ is closed to new replies.