Home › Forums › Support › Disable page header for category pages This topic has 3 replies, 2 voices, and was last updated 8 years, 8 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 30, 2015 at 12:07 pm #124968 Brian King When a visitor clicks on a category, I’m using is_category() function within the ‘Inside Content Container’ hook to display my own title. But the original page header is shown; so duplicate category headers are shown. Is there a way to disable the original page header using GP addons, so that only my text in the hook is shown? July 30, 2015 at 1:48 pm #125000 TomLead Developer Lead Developer To get rid of the text in the HTML, you can use this filter: https://gist.github.com/generatepress/926d49a7b3e0919c992a Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/ Then to remove the container, add this CSS: .category .page-header { display: none; } Adding CSS: https://generatepress.com/knowledgebase/adding-css/ That should do it ๐ July 30, 2015 at 2:57 pm #125032 Brian King Unfortunately my custom header was using “single_cat_title” so this didn’t work. However using the css “.page-header { display: none; }” did the trick. Thank you for your help. July 30, 2015 at 3:40 pm #125046 TomLead Developer Lead Developer Ah – didn’t think of that. You shouldn’t have any issues just hiding the first one then ๐ 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