Jump to content

rorystaunton

Circle Member
  • Posts

    3
  • Joined

  • Last visited

Status Updates posted by rorystaunton

  1. Hi Tuanpan,

    I have used your piece of code which worked great below to force 2 products per line on mobile ecommerce sites;

    <style>
      @media screen and (max-width:767px) {
    .products.collection-content-wrapper .list-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
        grid-column-gap: 5px;
        grid-row-gap: 5px;
    }
    }
    </style>

    However I have some featured blocks on my website 'www.stauntonspharmacy.ie' and hence they are still appearing as a full image and not smaller as a result of your code above. 

     

    Any assistance would be greatly appreciated. 

    1. tuanphan

      tuanphan

      Hi,

      I'm overloading.

      You can post on forum & tag me

      or send to my email. https://beaverhero.com/covid19

      I will check carefully

×
×
  • 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.