This topic has 10 replies, 3 voices, and was last updated 8 months, 2 weeks ago ago by Andrew Mitchell
Hello,
In category pages i want to show only subcategories. Is there a way of hiding the sidebar in this pages?
Hello, Valentin,
Thank you for reaching out to us with your query.
To assist you effectively, we would require the URLs of the pages in question. Kindly provide us with these details so that we may proceed with custom CSS code solutions tailored to your needs.
Best Regards,
8Theme’s Team
Hello,
I don’t think this is a matter of css. I have attached:
– snip 1: i want to hide the sidebar and only show the subcategories
– snip 2: i want to show the sidebar
Hello, Valentin,
Thank you for providing the screenshots. Additionally, we require the links to these pages.
Currently, there is no option in the settings to achieve the result you are seeking. That is precisely why we suggested the path of utilizing CSS code.
Best Regards,
8Theme’s Team
Hello,
https://zyko.ro/diy/
This is one main category, that has subcategories.
Hello, Valentin,
We appreciate your prompt response.
Please try to add the next code in Theme Options > Theme custom CSS > Global:
.term-90 .sidebar {
display:none;
}
.term-90 .main-products-loop {
width: 100% !important;
left: 0px;
}
Best Regards,
8Theme’s Team
Hello,
Your code works only for the main category (DIY). If you go to subcategory “Feronerie” …. etc, the sidebar is visible
Hello, Valentin,
We can confirm that your request is accurate. Consequently, we require the URLs for each page where you wish to have the sidebar disabled. Would you be so kind as to furnish us with the complete list of URLs at your earliest convenience?
Best Regards,
8Theme’s Team
No need, i figured out. Thanks!
Dear Valentin,
We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!
Click here to spread the love: https://themeforest.net/downloads
Thank you for being an integral part of our journey!
Best Regards,
The 8Theme Team
The issue related to '‘Hide sidebar in category pages that contains only subcategories’' has been successfully resolved, and the topic is now closed for further responses