Jump to content

Gallery has changed to 2 columns on mobile

Recommended Posts

On 7/29/2021 at 3:38 AM, bea1570048477 said:

Just viewed my new site on my phone and it's 1 column.How do I add 2 columns to my portfolio mobile page??
bethsquire.com
Password8

Screenshot 2021-07-28 at 20.18.49.png

2 columns doesn't look good. Add this to Design > Custom CSS

/* gallery 2 columns mobile */
@media screen and (max-width:640px) {
div#page-5f1db11aacc1cf6f04b1fe53 .image-block {
    float: left !important;
    width: 50% !important;
    clear: none !important;
    padding: 0 !important;
}
div#page-5f1db11aacc1cf6f04b1fe53 .image-block:nth-child(2n+1) {
    clear: left !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.