- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to remove category sidebar from pages?
Yesterday i had applied porto theme after that category sidebar is coming for every category page and product page. In Category page it is coming in left side and product page coming in right side.
For reference please find the images and website https://vitalticks.in
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to remove category sidebar from pages?
Hello @sekhar_n ,
Porto theme allows us to add a static block on the sidebar of category and product pages. You can add the static block by
- Admin -> Store -> Configuration -> Porto Setting panel -> Catergory View ->Custom Block Id for Sidebar and
- Admin -> Store -> Configuration -> Porto Setting panel -> Product View ->Static Block Id for Sidebar Custom Block
Please check the block which you have added in these sections by
Admin -> Content -> Block -> Block_with_the_identifier
May be there you have added something because of which the category list is coming.
Please try the above if still you get any error please let us know.
If this helps you, please give us kudos and accept it as solution.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to remove category sidebar from pages?
every thing is fine but i dont know from where that category sidebar is coming
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to remove category sidebar from pages?
If everything is fine with your theme then there are higher chances that this block is added by some third party extension. You can check this by disabling third party extension.
Hope this will help you.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to remove category sidebar from pages?
You can add following code in the catalog.xml for your porto theme.
<referenceContainer name="catalog.leftnav" remove="true"/>
If it doesn't work with your theme, then you comment the code from the phtml as well. You can get phtml file using enable template path hints.
https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/debug-theme.html
I hope it will help you!