WordPress.org

Ready to get started?Download WordPress

Forums

Hueman
Changing color of only select letters in heading/blog title (4 posts)

  1. CrystalMarie
    Member
    Posted 4 months ago #

    Hello,

    Is there a way to change color of only select letters in heading/blog title?

    I absolutely love this theme...btw. :)

  2. Alexander Agnarson
    Member
    Theme Author

    Posted 4 months ago #

    Hi! Happy to hear that :-)

    You would need to wrap the title into span classes or IDs, and then give each a color.

    Ex.

    <span class="color-1">My</span> <span class="color-2">Blog</span>

    And then this css:

    span.color-1 { color: red; }
    span.color-2 { color: blue; }
  3. CrystalMarie
    Member
    Posted 4 months ago #

    Would this work for letters within the title?

    Ex

    BeYOUtiful...with only "YOU" in red letters.

  4. Alexander Agnarson
    Member
    Theme Author

    Posted 4 months ago #

    Try it and see, it should work fine!

Reply

You must log in to post.

About this Theme

About this Topic