Site logo

Archived topic

Remove Category Page Header

3 replies · Started by Josep on June 19, 2016

Viewing posts 1–4 of 4

I found code in the forums... but it doesn't seem to be working on my site - so I must be doing something wrong.

I've added the following code with the "WP Add Custom CSS" plugin:

<!-- Remove Category Page Header -->

.category .page-header {
    display: none;
}

.category .page-title {
    display: none;
}

<!-- End Remove Category Page Header -->

The page title disappears - but the page header does not. Example page: http://www.artofboardgaming.com/category/gaming101/

These aren't CSS comments: <!-- End Content Boxes -->

They're HTML comments, so they're breaking the CSS below.

CSS comments look like: /* End Content Boxes */

Well I feel silly. Once upon a time I knew that. All fixed. Thank you.

No problem :)

This archived topic is closed to new replies.