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?
Change layout of category pages under the shop menu option.
6 posts from 4 voices-
Posted 1 year ago #
-
Hello ewabloch
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.
Posted 1 year ago # -
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).
Posted 1 year ago # -
Hey ewabloch,
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:
<?php //get the sidebar $avia_config['currently_viewing'] = 'blog'; get_sidebar(); ?>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.
Regards,
Devin
Posted 1 year ago # -
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?Posted 1 year ago # -
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:
if(!is_singular()) get_sidebar();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.
Posted 1 year ago #
Topic Closed
This topic has been closed to new replies.














