Jump to content

1 column view on mobile for Gallery

Recommended Posts

  • Replies 1
  • Views 280
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

10 hours ago, stefgc said:

Site URL: https://www.spawellness.com/projects

Hi, 

Hoping to find someone who can help with code so this gallery block (which is 3 column wide on a desktop/tablet) converts to only 1 column when viewed on a mobile device. 

Currently it displays as 2 column on a mobile, but I only want it 1 column so it is the full width of a mobile device. 

Thanks!!!!

Screen Shot 2021-08-04 at 8.33.34 am.png

Hi. Add to Design > Custom CSS > Then save & reload the site

/* Mobile 1 column gallery */
@media screen and (max-width:640px) {
div#block-yui_3_17_2_36_1434523414233_9161 .slide {
    width: 100% !important;
}
}

 

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.