Archived topic
removing sidebar
3 replies · Started by Yueh Feng on September 10, 2021
hi! I have a custom post type in my web, but I would like to remove sidebar only on this archive page.
website archive link is here.
how can i do it? I change the side bar setting in custom post type setting but it didn't work.
Hi there,
try using a Layout Element:
https://docs.generatepress.com/article/layout-element-overview/
You can change the sidebar settings, and set the Display Rules to match your Custom Post Type Archive.
Hi David,
Thank you! My problem has been resolved!
Glad to hear that!