Site logo

Archived topic

How to remove container separators selectively?

5 replies · Started by deba on December 3, 2020

Viewing posts 1–6 of 6

hi,
Is it possible to remove container separators selectively? I want to remove the top separator of the first container and the sidebar, so that there is no space between the first container and the header, and the sidebar and the header.

Hi there,

Any chance you can link us to the site in question?

You can use the private information field.

Let me know 🙂

Hi Ying,

I have added the link to the site.

Hi Deba,

Try this css

.site-content .site-main, .sidebar .inside-right-sidebar {
    margin-top: 0;
}

Let me know if it works!

Thanks, Worked great!

Don't know how you get those css selectors! I can't seem to understand what to use by inspecting the elements in Chrome DevTools.

Thanks Deba :)
I'm glad to help!

This archived topic is closed to new replies.