Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1340405
    dianatedoldi
    Participant

    Hello, I can’t find a way to change the color of some words as I’m writing a blog post.
    Is there anything I can do? Now I just can use white, and instead I want to make some words get more attention within the body text.
    Thank you

    Ps: my website is http://www.dianatedoldi.com

    #1340406
    dianatedoldi
    Participant

    I was forgetting: how can I also change just the color of blog post titles? I want to change H1, H2, H3 etc ONLY for the blog. How do I?
    Thank you!

    #1340417
    Christian
    Moderator

    Hey Diana,

    Please add the code below in your Appearance > Customize > Custom > Global CSS

    h1, .h1 {
    color: red;
    }
    
    h2, .h2 {
    color: blue;
    }
    
    h3, .h3 {
    color: green;
    }
    
    .gold {
    color: gold;
    }

    To change any text’s color, wrap it with a span tag with a color class like the sample I’ve given.

    <span class="gold">Your text</span>

    Change the color values as per your needs. Please see http://cloford.com/resources/colours/500col.htm or http://www.color-hex.com/ for more CSS colors.

    Thanks.

    #1379956
    dianatedoldi
    Participant

    Thank you, great!

    #1379986
    Darshana
    Moderator

    Glad we were able to help 🙂

  • <script> jQuery(function($){ $("#no-reply-1340405 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>