I use full with for my site but I want to be able te color the backround of both the body area and the sidebar. I managed more or less to get a background color on de actual body but not the sidebar. Attached a page of the site with a screenshot. I want to have a background color on the part within te dotted line. Can you help me with this?
thanks
Rene
URL: http://demowp.edutestweb.nl/blog/?page_id=164&preview=true
I mean full width…
Hi Rene
Thanks for reaching out.
The way the full width layout was constructed unfortunately means there is no container around the the primary and sidebar areas that we can easily use for a background color. It’s possible to set the overall page background color under Appearance > Customize > Page. You might consider using the Vantage Boxed Layout, that would give you the regular background color option you’re after.
Sorry we don’t have more.
Hello Andrew,
Thanks for this. I indeed could not find the container but thought is was my lack of experience! Would be great if you can add this container in the next upgrade.
Rene
There is a full-container wrapping #primary and #secondary. It’s however not floated left so given the current setup we can’t use it for a background color.
You could change things in a child theme, you’d need the following under Appearance > Custom CSS:
You could start with this vanilla child theme:
https://siteorigin.com/wp-content/uploads/2015/01/vantage-child-vanilla-enqueue.zip
Un-zip it. Copy header.php and footer.php from the parent theme into the child theme.
Edit header.php and insert the following after
So the end of header.php will then look as follows:
Then close that div in footer.php. The start of footer.php will then look as follows:
This is great! I will see if I can pull this off!
Rene
Super, let us know how it goes.