WordPress.org

Ready to get started?Download WordPress

Forums

highlight text background (4 posts)

  1. PistonsNationBlog
    Member
    Posted 6 years ago #

    Is there a way to highlight the background of a single paragraph in a post? Example, my background is white and I wanted to highlight a certain paragraph to draw attention to it...but I don't want to change the properties of my quote box, just a one time thing.

  2. Jeremy Clark
    Moderator
    Posted 6 years ago #

    Yeah you could do something like this
    <p style="background-color:#ffffff;"> your text </p>
    Just change the #ffffff to the color you want.

  3. PistonsNationBlog
    Member
    Posted 6 years ago #

    Thanks. Is there a way to add a dashed border? If not that's ok, I'm glad I could do the first thing

  4. Jeremy Clark
    Moderator
    Posted 6 years ago #

    sure just change it to this.
    <p style="background-color:#ffffff;border:1px dashed #ffffff;"> Again change the colors as you see fit.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.