WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Thirteen - Problem Changing Link Color (7 posts)

  1. Connor O.
    Member
    Posted 11 months 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:active,
    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
    Volunteer Moderator
    Posted 11 months 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 -

    http://codex.wordpress.org/Child_Themes

    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. alchymyth
    The Sweeper & Moderator
    Posted 11 months ago #

    a:
    do not edit the default theme Twenty Thirteen directly:

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

    b:
    without a live link, formatting issues cannot be discussed.

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

  4. Connor O.
    Member
    Posted 11 months 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
    Member
    Posted 9 months 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
    Forum Moderator
    Posted 9 months ago #

    Can you answer the question instead?

  7. john
    Member
    Posted 9 months 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 !!

Reply

You must log in to post.

About this Topic