So let me start off by saying, Yes..I have searched for this problem and there are a lot of examples out there that say they fix the problem. However I can not get this to work on my theme.
I am using mystique lite version, on a self hosted wordpress site. Sadly I can not link you to the website because you have to be on our internal network to view the site.
Now the problem and what I have so far.
In my page.php I have added
<?php if (is_page('pageName.com')) : get_sidebar(); endif; ?>
This works as expected, on the home page there is a widget bar and on all the others there is no widget bar. However on the other pages the content has not been expaned to the correct size, it still thinks there is a widget bar. Which I understand, but dont know how to tell the style.css that the page can be wider.
NOW, here is the code that sets the size of the content found in the style.css.
If there is a side bar I should use this code
/* SIDEBAR PAGE SIZE */
.fixed.col-2-right #primary-content{width:610px;left:330px}
.fixed.col-2-right #sidebar{width:320px;left:340px}
.fixed.col-2-right #mask-1{right:320px}
.home.fixed.col-2-right #primary-content{padding-top: 20px;}
If there is NO side bar I should use this code
/* NO-SIDEBAR PAGE SIZE */
.fixed.col-2-right #primary-content{width:940px;left:330px}
.fixed.col-2-right #mask-1{right:320px}
.home.fixed.col-2-right #primary-content{padding-top: 20px;}
How do I get the PHP to tell the style.css which block of code to use? I should warn you, while I am a coder I do NOT know css, or html or php. So you can skip over basic coding problems like conditionals but, please dont skip over language specific problems.
Thanks guys!