• Hi all,

    Twenty Eleven
    Cimy Header Image Rotator

    <td>
    <input id="blogname" class="regular-text" type="text" value="Hymn" name="blogname">
    </td>

    The color of “Hymn” is black.

    How can I change its color to “red” or another color?

    Thanks

    Rgds
    satimis

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi!

    You should be able to change the text color of the field with some CSS. Add this to your stylesheet:

    #blogname {
         color: red;
    }

    Hope this helps.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Don’t add it to your stylesheet.

    Use a Custom CSS plugin to hold your CSS modifications.

    Thread Starter satimis

    (@satimis)

    Hi all,

    Thanks for your advice.

    I have child theme created
    /twentyeleven-child/style.css

    Can I add;

    #blogname {
         color: red;
    }

    on the created style.css ?

    Thanks

    satimis

    Without seeing your site, I think it should work just fine under your child theme.

    If it doesn’t work, you can always try throwing an important flag after it so that it will override all other declarations for that id.

    #blogname {
         color: red !important;
    }

    Hope that helps!

    Thread Starter satimis

    (@satimis)

    Hi chicdesigngeek,

    Thanks for your advice,

    Put;
    #blogname {
    color: red !important;
    }

    on style.css of twentyeleven-child. Still failed, Hymn still in black color.

    URL – hymn.satimis.com

    Rgds
    satimis

    Hi Satimis,

    If you’re talking about the “Hymn” title up at the top, above “Presented by Christ Church Hong Kong”, then you want to add the following to your custom stylesheet:

    #site-title a {
    color: red;
    }

    That should work. Let me know if it’s another “Hymn” on your site that your’e trying to change.
    Cheers!

    Thread Starter satimis

    (@satimis)

    Hi chicdesigngeek,

    I got it done now. Lot of thanks for your advice.

    When I ran Firebug with mouse pointer pointing at “Hymn” it showed up something else.

    satimis

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to change the color of blogname’ is closed to new replies.