Twenty Thirteen - Problem Changing Link Color (7 posts)

  1. Connor O.
    Posted 2 years ago #

    Hello. I am having difficulty with what I though would be a simple task - changing the color of links.

    Here is my process - could you tell me what I'm doing wrong?

      Twenty Thirteen: Stylesheet (style.css)

    • Section 1.0 - Reset

    This is the code I am focusing on:

    a {
    	color: #ca3c08;
    	text-decoration: none;
    a:visited {
    	color: #ac0404;
    a:focus {
    	outline: thin dotted;
    a:hover {
    	color: #ea9629;
    	outline: 0;
    a:hover {
    	text-decoration: underline;

    However, when I change any of these values, it doesn't make any changes on the site. I have cleared cache, used other browsers, etc. with no luck. Is there something unique about Twenty Thirteen that I'm not grasping?

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    You should not be making ANY changes to the default theme's files - as they will all be lost when WP is updated. It's also very important to have an unmodified copy of the theme for troubleshooting purposes.

    You need to use a Child Theme for modifications -


    Or if you are only making CSS changes, you can use a custom CSS plugin and make changes there.

    Once you have one of those set up, please post a link to your site for additional help changing the link color.

  3. Michael
    Part-Time Forum Moderator
    Posted 2 years ago #

    do not edit the default theme Twenty Thirteen directly:

    - either use a custom CSS plugin;
    - or create a child theme.

    without a live link, formatting issues cannot be discussed.

    theme specific questions should be asked under http://wordpress.org/support/theme/twentythirteen

  4. Connor O.
    Posted 2 years ago #

    Thanks for the quick replies. I will look into Child Themes and move this discussion to http://wordpress.org/support/theme/twentythirteen.

  5. andrey p
    Posted 2 years ago #

    hey guys anyone knows how to change link color. the answers above are NA (they talk about importance of child theme) instead of answering question.

    thanks in advance!

  6. Andrew
    Moderator of Puppies
    Posted 2 years ago #

    Can you answer the question instead?

  7. john
    Posted 2 years ago #

    Please change color on theme style.css file

    line no 115 a { color:#BC360A }

    [ Replace color code with desired color ]

    Or you may replace this color from your desired link color in allover style.css file [ #BC360A ]

    and please keep remember this is not a correct method, you need to create child theme for it, so you may upgrade your theme next time.

    happy coding !!

Topic Closed

This topic has been closed to new replies.

About this Topic