Change heading color

Home Forums Automattic ThemeMin Change heading color

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #162620 Resolve

    madlyinlovewithlife

    Hello,
    I would like to change the color of the headings (not the main title of the post) within my post. Can they be a different color than the main body text? If so, can you let me know the CSS code for setting the heading color?
    Thank you!

    The blog I need help with is madlyinlovewithlife.com
    #162623

    Kathryn P.
    Happiness Engineer

    Hi there, you can change the colour of specific headings within your post by following this example, which would affect h3 tags (Heading 3):

    .entry-content h3 {
      color: #bb00bb;  
    }

    You can add other CSS rules to change the colour of different headings individually, or if you’d like to change them all to the same colour, this should do the trick:

    .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
      color: #bb00bb;  
    }

    Replace #bb00bb with whatever colour you like.

    Learning how to target your site’s CSS will help you make certain design and layout changes. Here are some very helpful posts that will help you customize your site with CSS:

    https://dailypost.wordpress.com/2013/07/25/css-selectors/

    http://dailypost.wordpress.com/2013/06/21/css-intro/

    http://dailypost.wordpress.com/2013/08/29/css-matched-rule-pane/

    http://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/

    Let me know how it goes!

    #162752

    Kathryn P.
    Happiness Engineer

    Hi there – I’m just checking in to see if you still need any help with this or are you all set.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.