Jump to content

Pricing list on mobile

Recommended Posts

  • Replies 5
  • Views 883
  • Created
  • Last Reply
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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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 (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.