Hi morsagmon,
For some reason, it now owkrs fine only on the home page (stretches to 100%) and the blog page (showing the sidebar on the right).
YES, that was what I was thinking you want, just home page to have wide content.
If you need other pages to have wide content and BLOG page to have 750px+sidebar, we have to work it out.
Thanks for sharing the link to your page, it is helpful.
Solution is like this:
You need to say that this page and that page I want to have 100% content, so you preserv BLOG page to unwanted behaviour.
This can be done by page ID No. like .page-id-6
that is added before the class of the element you want to tweak, in this case .content-area
class
When you take a look to classes in body element there is no DOT. IT is important to add DOT before any class name so it know that this is class not ID
For ID is used #. So even it says page-id-6 it is class.
In your NOW case it is :
.page-id-6 = Contact Us
.page-id-2 = Sample Page
Whenever you add new page you will have to add the css code for that particular page.
ID or as shoyld be said CLASS for that page you will find next to the BODY element in Chrome Development tools window
SO:
put this code to your Child Theme style.css file
OR
Install Simple Custom CSS plugin and put the code there.
I’m doing this on my browser to find solution.
It can get to some different behavior on your site.
It can happen that it is not working.
Then we have to look further.
.page-id-6 .content-area {
width: 100%;
}
.page-id-2 .content-area {
width: 100%;
}
or
.page-id-6 .content-area {
width: 100%!important;
}
.page-id-2 .content-area {
width: 100%!important;
}
I hope I was helpful.
Cheers
@tahoerock