I am building a theme and I want to have the option to turn the sidebar on and off depending on which pages are shown, I want this to be simple so rather than coding it into the theme I am using custom fields. It all works fine but I am stuck with another problem as a result of this. my content section is 650px and the rest is sidebar, but with the sidebar off i am still stuck with 650px of content and i want it to stretch to the whole page. anyone got any ideas?
Cheers in advance
PS: website is currently on lockdown so can't show an example so hopefully I explained it clearly enough