[resolved] Change color of a single link? (3 posts)

  1. joannecylau
    Posted 3 years ago #

    Hi there,

    I'm new to WordPress. I would like to know if it's possible to change the color of a single link on my web site? The default color is fine for the rest of the site, but I would like to change one of the links to make it match the rest of the font of that page:


    PS. I've created a child theme.


  2. esmi
    Forum Moderator
    Posted 3 years ago #

    It should be possible if you attach a new class name to the relevant link and then style that class via your child theme's CSS.

  3. joannecylau
    Posted 3 years ago #

    Thanks! I added this to my child theme's CSS and it worked great:

    #link-noformat {
    color: #373737;
    font-size: small;

    a.noformat:hover {

Topic Closed

This topic has been closed to new replies.

About this Topic