Jump to content

product blocks columns adjusting in mobile preview

Recommended Posts

Site URL: https://robin-pentagon-arzt.squarespace.com/en/home

hello guys, 

my website password is   (roses)7

I could manage to edit the mobile with galleries and the product list.

However, when it comes to product-blocks it shows vertically. 

taking into consideration that i have added some of the products as ''featured'' once at a time,  and i want them to show in columns in the mobile view.

The code i have used is 

<style>
@media screen and (max-width:767px) {
.product-block {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-column-gap: 10px;
}
}
</style>

If you have any idea how to fix it 

please help me, i would appreciate it 

 

Untitled.png

Link to comment
  • Replies 0
  • Views 222
  • Created
  • Last Reply

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.