• Resolved tsands

    (@tsands)


    Hi! How do I change the entry-content background color within a post on a single page? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author TT Themes

    (@tomastoman)

    Hi,

    please put this custom CSS to “Customize > BrickYard General Settings > Custom CSS” to change the entry-content background color for single posts:

    .single .entry-content, .single .entry-headline-text {background-color: #ff0000;}

    If you would like to set a different background color only for one particular post, then use this custom CSS instead:

    .postid-1234 .entry-content, .postid-1234 .entry-headline-text {background-color: #ff0000;}

    Just replace the number “1234” with the appropriate post ID.

    Best regards,
    Tomas Toman

    Thread Starter tsands

    (@tsands)

    Thanks, what fs it’s a page and not a post? Then say I make it black, how would I change the headline text to white? Thank you very much!

    Theme Author TT Themes

    (@tomastoman)

    For a page please use this custom CSS:

    .page-id-1234 .entry-content, .page-id-1234 .entry-headline-text {background-color: #ff0000;}

    This CSS allows you to change the page title color:

    .page-id-1234 .entry-headline {color: #ffffff;}

    Best regards,
    Tomas Toman

    Thread Starter tsands

    (@tsands)

    That did it! Thanks very much for you help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post Content Color Change’ is closed to new replies.