Change background color of one post – Prose theme

Community Forums Forums Design Tips and Tricks Change background color of one post – Prose theme

This topic is: not resolved

This topic contains 4 replies, has 2 voices, and was last updated by  GoodCat206 4 months, 3 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #107814

    GoodCat206
    Participant
    Post count: 19

    Is there an easy way to change the background color of just one post in prose? I think I did it a long time ago (or someone did it for me) and I completely forgot how! Thanks!

    http://www.cathygoodwinmarketing.com
    #107904

    Tom
    Participant
    Post count: 942

    Hi Cathy,

    Each page and post has a unique identifier, so you can use that in your CSS selector to single-out one post or page.

    For your post http://cathygoodwinmarketing.com/copy-intuition/ , post #9054, you would use:

    body.postid-9054 {background: lime;}

    For your page http://cathygoodwinmarketing.com/copywriting-to-get-results-and-free-up-your-time/

    body.page-id-3534 {background: blue;}

    Bob Dunn tells us how to find the ID: http://bobwp.com/heck-find-post-page-category-id/


    Choose your next site design from over 350 Genesis themes.
    Updates via GenesisThemes.ca | Twitter | Google+ | Tumblr

    #107926

    GoodCat206
    Participant
    Post count: 19

    And I just add this to the CSS in the editor, correct? Thank you!

    #107953

    Tom
    Participant
    Post count: 942

    Yes, I should have been more specific. That’ll be fine.


    Choose your next site design from over 350 Genesis themes.
    Updates via GenesisThemes.ca | Twitter | Google+ | Tumblr

    #107956

    GoodCat206
    Participant
    Post count: 19

    Thank you!

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

You must be logged in to reply to this topic.