Sam Diamond
Sam Diamond

Reputation: 3

Excessive spacing on a Weebly section

My website on Weebly is divided into sections. But the gap between these two sections is unnecessarily large, and I can find no way to reduce it. Can someone please help me to reduce the padding and to close the gap? See the attached pictures for visuals. mobile desktop

No visible help from Weebly - I can't shrink the size of the Section

Upvotes: 0

Views: 302

Answers (1)

Jeffrey Kastner
Jeffrey Kastner

Reputation: 676

In the design of the Theme, there is the following CSS.

@media screen and (max-width: 1024px) {
  .main-wrap .container { padding: 30px 20px; }
}

If you would like to alter the padding for the container you can either customize the Theme by editing the CSS file - line 269 and or simply add the following to your Settings > SEO > Header Section.

<style>
    @media screen and (max-width: 1024px) {
      .main-wrap .container { padding: 10px 20px; }
    }
</style>

Note: a change from 30px to 10px should be sufficient. Make sure to save and publish your changes.. and refresh your browser so you see the published changes.

Upvotes: 0

Related Questions