Jump to content

Simple Slideshow mobile format

Recommended Posts

Hi all,

I have a very simple problem at least explanation-wise. I am using simple slideshow on the homepage of my website and it works great on desktop, but when I switch to mobile preview it leaves huge blank spaces above and below the images. You can see it on my website sab.hr or on the images in this post.

I would like to know if there is some custom code I could utilise in order to remove that unnecessary blank space around my slideshow on mobile.

Thanks!

Screenshot 2020-01-10 at 07.32.52.png

Screenshot 2020-01-10 at 07.33.12.png

Link to comment
  • Replies 14
  • Created
  • Last Reply

add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
.homepage .gallery-slideshow {
    height: 40vh !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 4 months later...
26 minutes ago, martelil said:

Hi, does this apply to 7.1 as well? I have the excact same problem but the code doesn't do anything.
Thanks!

can you share link to page where you use slideshow?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
14 minutes ago, martelil said:

https://www.oglilleby.no/tcm-statoil

It might be smaller now but if I were to remove the background there will be lots of white space. As you can see here https://www.oglilleby.no/roede

both links? Can you take screenshot slideshow, I see images only here..

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 5/24/2020 at 7:09 PM, martelil said:

Yes – two projects, one with a background and the other without.

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
.gallery-slideshow {
    height: 40vh !important;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 3 months later...

Hey I have the same problem (blank space above and below in mobile view), I applied the code to the custom CSS and it has reduced the blank space above the slideshow, however the blank space below is still there in mobile view.. any ideas? thanks

Screen Shot 2020-09-15 at 4.07.07 PM.png

 

site is www.smokemilk.com btw

Link to comment
On 9/17/2020 at 9:27 AM, SmokeMilk said:

@tuanphan Hey I was wondering if you could pleeeeeease help me? thanks :) 

Add to Home > Design > Custom CSS

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

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.