• Resolved millemoeller

    (@millemoeller)


    I would like to change the color of links..

    Where do I find the code, and what does it look like?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Technokinetics

    (@technokinetics)

    In your style.css theme file: “a { color: blue; }“, “a:hover { red; }“.

    Obviously you’ll want to replace “blue” and “red” with the colors you’d actually like to use (usually defined with a hex code).

    – Tim

    Thread Starter millemoeller

    (@millemoeller)

    Okay.. thank you

    The code “a { color: blue; }”, “a:hover { red; }” changed the color of the category-links, tags etc.

    What is the code for the links I create in a post?

    Technokinetics

    (@technokinetics)

    Probably “.post a { color: blue; }” and “.post a:hover { color: red; }“.

    – Tim

    Thread Starter millemoeller

    (@millemoeller)

    There nothing called that..

    Could it be anything else?

    Technokinetics

    (@technokinetics)

    Yes; it all depends on your theme. A link to your site would help.

    – Tim

    Thread Starter millemoeller

    (@millemoeller)

    Of course.. Sorry.

    https://whynotblog.dk/

    In the first post there is two links called “her”

    And thank you.

    Technokinetics

    (@technokinetics)

    Use “.entry p a { color: blue; }“, “.entry p a:visited { color: green; }“, and “.entry p a:hover { color: red; }“.

    – Tim

    Thread Starter millemoeller

    (@millemoeller)

    It worked..

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change color of link’ is closed to new replies.