Home › Forums › Support › How to disable secondary menu on search page and 404 page? This topic has 5 replies, 2 voices, and was last updated 7 years, 1 month ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts November 6, 2017 at 6:05 am #417036 Paul My secondary menu and a sidebar are displayed on my search results page and the 404 page. Since those pages are not editable as are all others, how can I remove those elements? Thanks! November 6, 2017 at 8:33 am #417160 LeoStaff Customer Support Hi there, Try this CSS: .error404 .secondary-navigation, .error404 .sidebar, .search-results .secondary-navigation , .search-results .sidebar { display: none; } Adding CSS: https://docs.generatepress.com/article/adding-css/ November 6, 2017 at 8:39 am #417168 Paul Leo Great that works well – thank you How about the search results page, how do I address that page in the CSS code? http://pastorschaller.com/site8/?s=soccer Thanks November 6, 2017 at 9:01 am #417196 LeoStaff Customer Support Edited the CSS above: https://generatepress.com/forums/topic/how-to-disable-secondary-menu-on-search-page-and-404-page/#post-417160 November 6, 2017 at 9:07 am #417214 Paul Works perfectly. Top class support as usual Thanks! November 6, 2017 at 9:08 am #417215 LeoStaff Customer Support No problem 🙂 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In