Hey Guys
I'm need some assistance one a two step process. I've figure out how to hide the side bar on specific pages. But once I do that the page that doesn't take up the entire length of the theme. The sidebar widgets are gone but the page stays at its normal width, I would like to extend it to take full advantage of the theme.
To hide the sidebar I added this into the pages.php
<?php if (is_page('200')) : ?>
<?php else : ?>
<?php get_sidebar(); ?>
<?php endif; ?>
-
Now my question is, I how do we extend page no#200 to take the full length of the screen/theme. I have read that you need to do something along the lines of this :
<div class="myclass">
<div class="<?php if (!is_page('x')) : ?>myclass<?php else : ?>myclasswider<?php endif; ?>">
and
.myclass {
width:800px
}
.myclasswider {
width:1000px
}
But where does this go ??? in the pages.php file ? or somewhere else. Or is the code just mention above wrong. If someone can point me in the right direction on how to extend the page once i've removed the sidebar that would be greatly appreciated.
if you need example code from the site please let me know as it might make things easier.