Forums

Coraline link colors (1 post)

  1. cabinchic
    Member
    Posted 1 year ago #

    Hi,

    I'm trying to change link colors in Coraline (I'm using the dark version), and I've found through a different thread a way to do it, however ... when I use the following method, it also changes the colors of the links in my menu. I would actually like to keep those in the default, but just have the links in the body of my pages and posts be different. Suggestions?

    Here is the code I found, with !important added to get it to override the dark theme's settings. My question is how to ONLY get the link colors to change within pages/posts. The following code changes it everywhere, including in the menu.

    /* Links */
    a {
    color: #0060ff !important;
    }
    a:visited {
    color: #333 !important;
    }
    a:active,
    a:hover {
    color: #df0000 !important;
    }
    h1 a, h2 a, h3 a {
    color: #000;
    text-decoration: none;
    }
    h1 a:hover, h2 a:hover, h3 a:hover {
    color: #009900;
    }

    Any guidance would be greatly appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic