March 26, 2012 at 6:18 am #10714
Under the shop option on my menu I added categories (books and posters)
The category pages (books, posters) come up with default layout for blog (it has a side bar).
I do not have blog on my website and the default layout for all of my pages is without side bars. Category pages are not listed under pages that can be edited. The blog layouts do not include one without side bars. So, how do I change the layout of the category pages to be consistent with the rest of my pages?March 26, 2012 at 7:49 am #69101
Have you tried going to Abundance Tab > Theme Options > Layout and Settings > Default Page Layout then choose “Fullsize preview image, no sidebar”. Please try to remember the settings before selecting this one.
I hope this could help.March 26, 2012 at 6:09 pm #69102
My Default Page Layout was already set for “Fullsize preview image, no sidebar”. The category pages are actually assuming the default layout for the blog (there is I no option to have a blog layout without sidebar).March 27, 2012 at 5:50 pm #69103
I believe you are seeing the Archive layout for category types. If that is the case, you can open up the archive.php in your theme files and search for:
//get the sidebar
$avia_config['currently_viewing'] = 'blog';
Now comment out or delete those lines and you will no longer get a sidebar at that page. Just make a note of this so that when you update the theme later, you know to keep a copy of this page to add after the theme files have been updated.
DevinMarch 28, 2012 at 9:53 pm #69104
Thanks for getting back with me
Just did this and it did not work. It looks that the default is the default for the blog.
When I change the blog layout, under themes options -> layout settings, the product category page changes accordingly.
The only way I can go around it is to put widget in the shop overview page (left or right) sidebar but I need that section empty.
Is there anything else I could do?April 2, 2012 at 5:42 am #69105
I think your “books and posters” categories are shop categories – in this case you need to modify woocommerce-config/config.php.
Search for following code and delete it:
However you’ll get a white area on the left side so I’m not sure if it’s a good idea to remove the sidebar. It’s not easily possible to extend the content area to fullwidth on the shop page without some css mods.
The topic ‘Change layout of category pages under the shop menu option.’ is closed to new replies.