Jump to content

Make Slideshow:Simple appear as stacked on mobile

Recommended Posts

  • Replies 7
  • Views 663
  • Created
  • Last Reply

Top Posters In This Topic

Thanks for helping out Tuanphan!

So I basically make two separate gallery's: One slideshow for the website and a grid for mobile and they are just going to be below eachother on the same page. The code will determine what will show on what device. Is that correct? 

Do you already have that code available to see if that works for me?

 

Edited by tbuijs
Link to comment
On 8/5/2022 at 4:29 PM, tbuijs said:

Thanks for helping out Tuanphan!

So I basically make two separate gallery's: One slideshow for the website and a grid for mobile and they are just going to be below eachother on the same page. The code will determine what will show on what device. Is that correct? 

Do you already have that code available to see if that works for me?

 

Yes. You need to add it first, then we can give code easier.

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Hi Tuanphan,

 

I've made the page; it's under www.atelierfront.nl/test

The project gibbon is the one I've used as a template, there you can find both the slideshow:simple and grid:masonry.

 

Furthermore I have another question. Would it be possible to have the slideshow:simple coded in such a way that it is not possible to scroll down? In other words that it looks more like a booklet than a website? Similar to this page:

https://www.forstbergling.com/fl078_h-259/nyeezn0yuts88hmkpdk82h9sto8s5i

Thanks again for your help!

 

Link to comment
On 8/9/2022 at 3:53 PM, tbuijs said:

Hi Tuanphan,

 

I've made the page; it's under www.atelierfront.nl/test

The project gibbon is the one I've used as a template, there you can find both the slideshow:simple and grid:masonry.

 

Furthermore I have another question. Would it be possible to have the slideshow:simple coded in such a way that it is not possible to scroll down? In other words that it looks more like a booklet than a website? Similar to this page:

https://www.forstbergling.com/fl078_h-259/nyeezn0yuts88hmkpdk82h9sto8s5i

Thanks again for your help!

 

Can you add both? I see 1 gallery only

https://www.atelierfront.nl/test

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
15 hours ago, tbuijs said:

Add a Code Block at bottom of page > Paste this code

<style>
  /* hide slideshow on mobile */
  @media screen and (max-width:767px) {
  .gallery-slideshow {
    display: none;
}
  }
  /* hide masonry on desktop */
  @media screen and (min-width:768px) {
  .gallery-masonry {
    display: none;
}
  }
</style>

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

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

×
×
  • 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.