Forums

CSS link color ( I did everything right) (7 posts)

  1. Mobbin01
    Member
    Posted 1 year ago #

    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 http://www.streetsoffashionseattle.com

    thanks to all replies...

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    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.

  3. Mobbin01
    Member
    Posted 1 year ago #

    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: http://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?)

  4. alchymyth
    The Sweeper
    Posted 1 year ago #

    that is it, so does this mean I should add

    possibly;

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

  5. Mobbin01
    Member
    Posted 1 year ago #

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

  6. Mobbin01
    Member
    Posted 1 year ago #

    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 ( http://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?

  7. Mobbin01
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic