• I’ve decided to add some links periodically throughout my posts, as to direct the reader to other posts that are relavent to the text that is to be linked. This technique can be viewed at https://www.pointsincase.com.

    I am not having trouble adding the links, but I do not know which code in the style sheet to edit to change the color of said links.

    I want to make the link color the blue that is on my site, while keeping all of the other links on the sidebar their same color. Any help is appreciated, thanks.

    – Mike

Viewing 6 replies - 1 through 6 (of 6 total)
  • In your stylesheet, something like .post a { color: pink; } (but not pink of course… find the hex color like #xxxxxx that is used for the blue that you like.)

    Your stylesheet is wp-content/themes/black/style.css

    Thread Starter mycoo62

    (@mycoo62)

    Thanks, I tried that and it just made the text for the entire post the blue color.

    Thread Starter mycoo62

    (@mycoo62)

    Does anyone have any other suggestions?

    What markjaquith said should work. Maybe you missed the a in his code if the whole post went blue for you…
    .post a {color: pink;}

    Thread Starter mycoo62

    (@mycoo62)

    “.post a {color: 009AEF;}”

    -yea, that’s exactly what i put in my stylesheet. also, the link seems to appear orange on mozilla, but on IE, its the plain white like the rest of the text. any other ideas?

    Try changing WHERE in the CSS file you put it. Sometimes if you put it before other stylings that try to affect the same classes/tags, the other stylings ‘win’. I’ve seen it where FF renders as expected but IE doesn’t respect the override.

    “.post a” shouldn’t affect the normal text color at all. if it did, something ELSE is wrong with your HTML (unclosed a href maybe) or CSS.

    -d

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding content links to posts/pages, need help.’ is closed to new replies.