if your theme has a category.php template, use this;
if not – does it have an archive.php template? – then make a copy of that and save it as category.php;
if no archive.php either, make a copy of index.php and save it as category.php.
edit category.php, remove the ‘get_sidebar()’ code the same way as you might have done with page.php;
then do the changing again to:
<div id="content" class="widepage">
Alright, I was able to get rid of the sidebar but I can’t widen my content. If I add the “<div id=”content” class=”widepage”>” code to the archive file will that reference my widepage template I have setup or do I need to put it into a different file?
Thanks
If I add the “<div id=”content” class=”widepage”>” code to the archive file will that reference my widepage template I have setup
if the archive file already has the <div id="content">
then change it to <div id="content" class="widepage">
(if not, then you might need to edit header.php)
(i don’t know how you solved this with your static pages, but the same should work for the archive file as well)
No luck on id=”content” class=”widepage”>, but I think I’m getting close. Take a look at the link below. If I can figure out how to stop the posts from being offset correctly I’ll be good. Any ideas on how to fix the posts?
http://truegearhead.com/test/category/tgh-shake-down
without a specific css class or css id for the category archive without sidebar, any css customisation will be problematic.
how did you solve this for the page without sidebar?
I deleted “get sidebar” from the archive.php file.