Jump to content

How to change grid gallery mobile view

Recommended Posts

Hi

I am trying to change grid gallery mobile view, but I do not understand how to change it.

From the attached pictures you can see, that currently on the desktop and mobile view I have two pictures side by side. I would like to keep this design for desktop but I would like to have pictures in a separate row in mobile. I understand that I need to use CSS for that, but I was not able to make the change.

Could anybody explain me how can I change the mobile view for grid gallery in a way, that pictures would be in a separate row?

Thank you for all the help!

desktop_view.png

mobile_view.png

settings.png

Link to comment
  • Replies 3
  • Views 600
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
.collection-type-blog-single-column.view-item .slide {
    width: 100% !important;
    float: none !important;
}
.collection-type-blog-single-column.view-item .slide img {
    width: 100% !important;
    height: auto !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

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.