Site logo

Archived topic

Hide the title on category page

14 replies · Started by xepace on September 17, 2014

Viewing posts 1–15 of 15

Hi, Tom. Can you help me? How can I hide part with header and title of the category on category page?

This should work:

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

No. It doesn't work.

Can you link me to the page so I can see if another style is overriding it?

Ah ok - this should do it.

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

Thank you

Hi Claudia,

If you're trying to hide it on just category taxonomy archive pages, you can try adding this CSS:

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

If you're trying to hide it on all taxonomy archive pages, you can try this:

body.archive header.page-header {
    display: none;
}

If you're trying to hide it on a specific category (example: Visit Rome), try this:

body.category-visit-rome header.page-header {
    display: none;
}

I am trying to hide it on all category pages across all my sites

Hi Claudia,

In your case, use Elvin's first CSS solution. :)

I have no idea where to place the CSS - can you provide step-by-step guidance?

Thanks!

No problem. :D

This archived topic is closed to new replies.