Dawn theme - unnecessary white space between sections and section overlap on Home page

Hi All,

All my sections after the top image banner have moved down creating unnecessary white space between the image banner section and the multicolumn section (SS1) as well as causing a section overlap of the collage section and the footer section (SS2) on my home page.

Link to site: https://myellagroup.com/

This happened since I added another image banner in the middle of the page.

Does anyone know how to fix this please?

SS1:

SS2:

Thank you!

Hi @Myellagroup ,

I checked and the code you add ā€˜ā€™ at sections/image-banner.liquid file is not correct.

So you can switch the code back to theme defaults, everything will work fine: https://i.imgur.com/Q7TJsTm.png

Or you can change the whole code with this code: https://raw.githubusercontent.com/Shopify/dawn/main/sections/image-banner.liquid

If you want to put banner on header, I will help you with another code after you fix this error.

Hope it helps!

Hi @LitCommerce

I tried everything as you asked and now I’m using the code you shared.

However, very little changed. The white space is still there and only the overlapping got improved slightly as below.

Thanks

Hi @Myellagroup ,

Go to layout/theme.liquid file, go to the end of the file and remove code: https://i.imgur.com/B2zS6Ja.png

Hope it helps!

1 Like

Hi @LitCommerce

Thanks a lot! It worked!

Hello @LitCommerce

I am using Dawn 2.5 and I would also like to remove the white space between sections but the theme.liquid file is only 198 rows for me. There is nothing similar to the code you sent an image of. Do you have any ideas?

Hi @sisaul ,

Please create a new question on the community and send me the link. I will check it.

Because this will help build a better community.

Thank you.

Hi [email removed]LitCommerce,

A new topic has been made:
https://community.shopify.com/c/shopify-design/dawn-2-5-remove-whitespace-between-sections-and-resize/m-p/1436952#M378086

Thank You in advance!