Add white text box behind post content

Hi guys,

I have set a background image but when I view my posts the content is not readable on the background.

Therefore I want the post content to have a white background behind it so that the text is able to be read, but with the background image behind it/surrounding it.

Is this possible?

I’ve used various CSS options that are floating about on this forum but none seem to work.

I currently have UnderConstruction enabled so I don’t think you can see the CSS of my site.

Any help would be greatly appreciated!

Thanks! :slight_smile:

Hey there,

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Additional CSS

/*Add white background on single posts content*/
.single .entry-content {
    background: white;
    padding: 10px;
}

Best regards,
Support.

Thanks! That worked great :slight_smile:

Hello there,

I am glad the solution worked for you.
Please feel free to contact us again in the future regarding any other issues.

Best Regards,
Support