Jump to content

Logo columns in Mobile grid 7.1?

Recommended Posts

  • Replies 11
  • Views 1k
  • Created
  • Last Reply
Posted

Add To Home > Design > Custom CSS

/* The wall frame logos */
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1597647440130_252727 .slide {
    width: 33.33% !important;
}
div#block-yui_3_17_2_1_1597647440130_252727 .slide img {
    width: 100% !important;
    height: auto !important;
    top: 0 !important;
    left: 0 !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!)

Posted

Tried adding this code to the page header code injection but it doesn't work...

(It does work on these pages: awards, exhibitions, press)

 

<style>
  @media screen and (max-width:767px) {
  .gallery-grid-wrapper {
    grid-template-columns: repeat(3,auto) !important;
}
  }
</style>

Posted

or here for example, under the ADD TO CART button

 

https://smilodon-ocelot-my5f.squarespace.com/lost-america-prints/picnic-stands-white-sands

Posted

@tuanphan

 

I have many product pages to add this 3 logo gallery config to in mobile view.

Is the only way to duplicate your original CSS and change the id block for each one?

I've started to already. It's a bit laborious and a lot of code.

I wondered if there was a way of making all the logos go into a 3 column configuration with one set of code across the whole site or both pages?

 

https://smilodon-ocelot-my5f.squarespace.com/lost-america-prints

https://www.mattportch.com/store

 

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.