Jump to content

Pricing list on mobile

Recommended Posts

  • Replies 5
  • Views 935
  • Created
  • Last Reply
Posted
1 hour ago, ilonapoutanen said:

Site URL: https://www.lindakovasin.com/fine-art-printit

I have a pricing list on my clients site. How can I keep the same styling and structure on mobile too? There should be size and price next to each other. 

try


@media only screen and (max-width: 768px) {
  #block-yui_3_17_2_1_1615548428851_10657 + .sqs-row .sqs-col-2 {
    width: 25% !important;
    float: left !important;
  }
  #block-yui_3_17_2_1_1615548428851_10657 + .sqs-row .sqs-col-4 {
    width: 25% !important;
    float: left !important;
  }
  #block-yui_3_17_2_1_1615548428851_10657 + .sqs-row .sqs-col-4 .spacer-block {
   display: block;
  }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
9 hours ago, ilonapoutanen said:

It worked first but then I removed some spacers and now it doesn't work anymore.

Because the css is based on the spacer to select the row that contains the price list, when you remove them then it make the code invalid

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

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.