• So I am trying to change the color of my links on my blog and posts.
    I went into my css style sheet, which in my theme (yen) is editor-style.css.
    I searched link and came to

    [please mark your code using backticks or the code button]

    a:link {
    	color:#0066CC;
    }
    a:visited {
    	color:#743399;
    }
    a:active,
    a:hover {
    	color: #FF4B33;
    }

    I changed the a:link color from #0066CC to #FF7F00 (I want my links to be orange)

    updated and emptied my cache, and all the link colors on my site are all the same. What am I doing wrong here? Why arent the link colors changing?

    my site is https://www.streetsoffashionseattle.com

    thanks to all replies…

Viewing 6 replies - 1 through 6 (of 6 total)
  • editor-style.css is only influencing any styles within the visual post/page editor in the dashboard.

    you may want to edit style.css of your theme.

    Thread Starter Mobbin01

    (@mobbin01)

    Ok,thanks… I get what you are saying, but when I go to style.css the only thing that is written is

    /*
    Theme Name: YEN
    Description: Clean Magazine Newspaper Template
    Version: 1.0
    Author: Peerapong Pulpipatnan
    Author URI: https://themeforest.net/user/peerapong
    */
    
    @import "css/screen.css";

    that is it, so does this mean I should add

    a:link {
    	color:#0066CC;
    }
    a:visited {
    	color:#743399;
    }
    a:active,
    a:hover {
    	color: #FF4B33;
    }

    [please mark your code using backticks or the code button]

    directly into style.css with my changes then update? (does that make sense?)

    that is it, so does this mean I should add

    possibly;

    unless the theme has some option panels to add custom styles (?)

    Thread Starter Mobbin01

    (@mobbin01)

    Great thank you! My theme had a place to put the custom CSS.

    Thread Starter Mobbin01

    (@mobbin01)

    ok I spoke too soon. All the links on my site are the color I want, thanks to adding the custom CSS.

    BUT…

    There are a couple links on this page ( https://streetsoffashionseattle.com/5-must-install-wordpress-fashion-blog-plugins/ ) that are not conforming to the CSS…

    specifically the link titled Smush.it and WP-DBManager both in bold toward the bottom of the post.

    Why on earth would these links stay the old color??

    Also now when I go to add links in a new post, they are not coming up as the color I specified in CSS…WTF?

    Thread Starter Mobbin01

    (@mobbin01)

    I feel stupid, nevermind I got it figured out. Cleared my cookies…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘CSS link color ( I did everything right)’ is closed to new replies.