Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
MagIngMech

Simple Slideshow mobile format

Question

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

Share this post


Link to post

14 answers to this question

Recommended Posts

  • 1

add to Home > Design > Custom CSS

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

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

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

Share this post


Link to post
  • 0
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?


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
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..


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
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;
}
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
59 minutes ago, tuanphan said:

Add to Home > Design > Custom CSS


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

 

Yes that fixed it – thanks so much!!

Share this post


Link to post
  • 0

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

Edited by SmokeMilk
added URL

Share this post


Link to post
  • 0
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;
}
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...