Viewing 3 replies - 1 through 3 (of 3 total)
  • You can set a custom background color for the whole site(via Appearance -> Background) but doing so for a single post would mean CSS edits. Such changes would be over-written the next time you upgraded WordPress. For this reason, it is recommended that you consider creating a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.

    Thread Starter leev

    (@leev18)

    doing so for a single post would mean CSS edits. Such changes would be over-written the next time you upgraded WordPress.

    I don’t really care because the next time I update my wordpress, I can do it manually. Also, I have backups.

    Anyway, if you or anyone here knows how to add a custom background color to a single post, please show me how. Thanks

    For the post with the id of 1125, you would use something like:

    #post-1125 {background:#ccc;}

    Adjust the id number to suit.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Background color to post’ is closed to new replies.