Moving whitespace between sections on Mobile (Alchemy Theme)

Solved

Moving whitespace between sections on Mobile (Alchemy Theme)

ArronJW
Excursionist
23 1 7

Hi,

 

Anyway to reduce the padding and margin of this slideshow? The slideshow with text has a lot of unnecessary white space between the sections and most of it is because of the top of the slideshow is so large.   Is there anyway to remove this spacing?  It looks especially terrible on a mobile device.   Found at  https://www.rescuetreats.dog/pages/our-partners-who-support-dog-rescues

 

ArronJW_0-1696364598202.png

 

Accepted Solution (1)

David_SHT
Globetrotter
605 125 125

This is an accepted solution.

Hi @ArronJW 

This is David at SalesHunterThemes.

You can try to follow these steps:

Go to Online Store -> Themes -> Actions -> Edit code.

Go Layout folder -> theme.liquid file.

Add the following code in the bottom of the file above </body> tag

 

<style>
@media screen and (max-width: 767px) {
  .image-with-text-section.section-id-slideshow-with-text,
.image-with-text-section .image-with-text-section__content .content {
    padding: 0 !important;
  }
}
</style>

 

David_SHT_0-1696384854316.png

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

David | SalesHunterThemes team

We create fast Shopify themes, focusing on exceptional performance and seamless experience across all devices.

Try our Electro theme Free! (Now at Black Friday price)

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
6978 1660 2049

Hi @ArronJW 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.image-with-text-section.overlap-candidate-container.homepage-padded-row.section-id-slideshow-with-text.cc-animate-init.-in.cc-animate-complete {
    padding-top:  0px !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696367323880.png
If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
ArronJW
Excursionist
23 1 7

Hi, 

 

This moves the image up but not the text.  Also, this did not work on the mobile.  Anyway to get the slideshow text pushed up as well? 

Made4uo-Ribe
Shopify Partner
6978 1660 2049

Yes, that will be normally push up cause we get the space from there. The padding/space are from the image, not for the text up. If you need the code for mobile as well let me know. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

David_SHT
Globetrotter
605 125 125

This is an accepted solution.

Hi @ArronJW 

This is David at SalesHunterThemes.

You can try to follow these steps:

Go to Online Store -> Themes -> Actions -> Edit code.

Go Layout folder -> theme.liquid file.

Add the following code in the bottom of the file above </body> tag

 

<style>
@media screen and (max-width: 767px) {
  .image-with-text-section.section-id-slideshow-with-text,
.image-with-text-section .image-with-text-section__content .content {
    padding: 0 !important;
  }
}
</style>

 

David_SHT_0-1696384854316.png

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

David | SalesHunterThemes team

We create fast Shopify themes, focusing on exceptional performance and seamless experience across all devices.

Try our Electro theme Free! (Now at Black Friday price)

ArronJW
Excursionist
23 1 7

Thanks a ton David, do you know how to get rid of the white space on the desktop site?  Now that the mobile is fixed the desktop has a lot of white space between sections on that page.  I would greatly appreciate it!