Remove white space between sections for mobile view on Dawn Theme

Hello! Does anyone know how to remove the white space that I have between sections on Mobile View?
I have tried various methods, like reducing the horizontal gap between sections to 0 via Theme Settings or copying this code under base.css/theme.liquid but all havent worked.

@media screen and (max-width: 749px) {
.section {
margin-bottom: 0px !important;
} }

My store URL is: https://verterra.sg/password, password is VerterraTest123

Hey @Verterra

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Thank you so much!

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Hello @Verterra
Go to online store ---------> themes --------------> actions ------> edit code------->base.CSS
add this code at the very end of the file.

@media screen and (max-width: 768px) {
section.section-template--22927490449691__main-padding.gradient.color-background-1 {
padding-top: 15px;
padding-bottom: 0px;
}
}

and the result will be

If this was helpful, hit the like button and mark the job as completed.
Thanks