Site logo

Archived topic

Remove separating space on category page h1 on site set to One Container

6 replies · Started by Giselle on January 20, 2022

Viewing posts 1–7 of 7

Hi,

I've looked through the forum and can see lots of replies to this for separate containers, but not for one container. I've tried this CSS in a mobile media query, but it's not working:

@media (max-width: 768px) {

.one-container .site-main {
margin: 0;
}

}

Example in URI below

Thanks for your help.

Giselle

Hi Giselle,

Which space are you trying to remove?

Can you take a screenshot and let me know?

Hi Yin,

I think I forgot to post the link. It's the gap underneath Projects (and all category pages). It's created by setting: Layout > Container Separating Space

Thanks.

The H1 heading 'Projects' I mean.

I see, try this CSS:

.archive.category .page-header {
    margin-bottom: 0;
}

Thanks, Ying! Working :-)

You are welcome :)

This archived topic is closed to new replies.