OK, by content box what exactly are you trying to change, like any certain page or section.
Thanks for your help.
I would like the posts, pages and widgets to have a white background.
In your Child Theme or CSS Editor Plugin try this code:
#content, #sidebar-primary {
background: #fff;
}
*Note
If your theme has a custom CSS Editor in it, you can also paste the code in there.
Never edit core CSS or PHP files, they’ll be deleted when the theme is updated.
Or you can not use those two and just do:
.wrap {
background: #fff;
}
Depends which one you want.
Thanks so much Erik. They both work and I prefer the first one.
The problem now is that I need a margin so the text is not smack up against the edge. I left it up with the first solution showing so you can see what I mean.
Try this one:
p {
margin: 0px 30px 1.69231em;
}
Just adjust the 30px
Hmmm unfortunately that one did not work Erik.
I tried
p {
margin: 0px 30px 1.69231em;
}
and also tried
.p {
margin: 0px 30px 1.69231em;
}
I left the page up after I entered the custom CSS so you could see. Any ideas Erik?
Where did you put the code?
I put it into the Custom CSS Manager Plugin Settings panel.
I have some other custom css there including the one you gave me to make the background white.
OK, not sure why it not work for you I tested it on a test site and it worked fine.
Darn, that is very odd. I wonder if I have made a mistake. This is the whole of the custom CSS code, does it look right?:
.p {
margin: 0px 30px 1.69231em;
}
#content, #sidebar-primary {
background: #fff;
}
table.tribe-events-calendar td .hentry {
margin: 0;
padding: 0;
width: 80%;
}
.singular .entry-title {
font-size: .9em;
}
Shouldn’t have a dot before the p