Home › Forums › Support › How to show or hide GP widget on specific pages? This topic has 3 replies, 2 voices, and was last updated 7 years, 1 month ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts August 23, 2017 at 10:48 am #372095 Johannes Hi, How to show or hide GP widget on specific pages? I suppose I can add a custom CSS class to it and the use some CSS? -Johannes August 23, 2017 at 10:55 am #372109 LeoStaff Customer Support Hi there, For sidebar widgets? If so I would recommend this handy plugin: https://en-ca.wordpress.org/plugins/content-aware-sidebars/ If not then we need to use some CSS. Can you link me to the page and let me know which widgets you would like to hide? August 24, 2017 at 12:58 am #372433 Johannes Hi, let say I want to have the search field ( in header ) only on specific pages. http://www.johannesoedegaard.com/generatepresstest/ – Johannes August 24, 2017 at 8:56 am #372709 LeoStaff Customer Support Ok so use Tom’s Simple CSS plugin: https://docs.generatepress.com/article/adding-css/#simple-css and add this CSS in the CSS meta box on the pages you don’t want the search field: .header-widget { display: none; } Index pages (blog, archive) need to be handle differently so let me know if you want to hide it on them too. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In