Reduce margin between sections globally

Hi,

Trying to reduce padding or margin that’s spacing out the sections.
Tried this in Global CSS
div[class*=“x-section”] {
padding-top: 100px;
}
and
div[class*=“x-section”] {
margin-top: 100px;
}

But nothing is moving. Thanks!

Hi David,

Thank you for reaching out to us. You can reduce padding / margin of a section via section’s settings in Cornerstone. Simply inspect your section first (see screenshot)

Then you can adjust margin or padding of the section (see screenshot)

For a Global CSS solution, you can make use of the following code, however it is not recommended as it will be applied to all sections site wide:

.x-section {
    margin: 0 !important;
    padding: 0 !important;
}

Hope this helps!

Thanks for the help Nabeel!

You’re welcome, David.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.