Archived topic
Eliminate sidebar on Category pages
6 replies · Started by Neal on December 2, 2020
GENERATE PRESS
I am using GP Premium 1.12.2.
I want a sidebar on my home page / front page only.
A sidebar has appeared on my Category pages. Here is an example: https://www.theendlesssixties.com/category/authors/
How do I get rid of the sidebar on my Category pages.
NEAL
Hi there,
You can use a layout element to achieve this.
Here's an article with a tutorial video that could be helpful.
https://docs.generatepress.com/article/layout-element-overview/#sidebar
The display rule you are after would be Location > Post Category Archive > All Categories
Let me know.
YING
Thanks for the prompt response!
I will look at the tutorial you suggest and see if I can work my way through this.
NEAL
Sounds good.
Let me know if you need more info :)
Y
Okay, that worked in removing the sidebar. Thanks!
But I have a piece of CSS code in the Customizer keeping the width of all images and text at 600 pixels on all posts and pages. The text on the Category Archives page looks like it's 600 but the images are now 1000. What can I do?
N
Y
Ah-hah! I found the option to control the width of the text under Content.
Now my Category Archives look good.
Thanks again!
N
You are very welcome!
:)