Claire_auck Posted July 20, 2020 Share Posted July 20, 2020 Site URL: https://compass-pilates.squarespace.com/pricing I hope someone CSS help 🙂 https://compass-pilates.squarespace.com/pricing pa33word I have used the awesome Ghost Pricing Block plug-in and it's working really well on desktop and mobile. Tablet size needs some attention as the content breaks out of the container. Do I need to add an additional style for tablet? If so...how? This is what's currently in place for mobile.@media (max-width : 1300px) { .sqs-block-markdown { I have attached a screenashot with all 3 sizes and as you can see, the middle (tablet) is flowing outside of the green box. Fingers crossed someone can help me fix this. Cheers Claire. Link to comment
Beyondspace Posted July 20, 2020 Share Posted July 20, 2020 You can try this @media (max-width : 1024px) { [data-collection-id="5f0cf7cd8480bd4a7f209852"] .sqs-col-3 { width: 50%; } } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
Claire_auck Posted July 20, 2020 Author Share Posted July 20, 2020 Hi @bangank36 Thanks for you message. Do I replace the original @media or add it to the next line? I tried replacing it but it said there was a missing opening. Thanks for your help. Claire. Link to comment
Beyondspace Posted July 20, 2020 Share Posted July 20, 2020 Please add it into next line BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
Claire_auck Posted July 20, 2020 Author Share Posted July 20, 2020 Thanks for the reply 🙂 I have added it to the next line but wanted to question if I needed to change the first @media? It's on the site now but it still performs in the same way. Any further ideas? Link to comment
Claire_auck Posted July 21, 2020 Author Share Posted July 21, 2020 SOLVED!!!!@tuanphan was able to help with this We added the code (below) to the page header to create 2 columns per row on tablet size and it works a treat! Thanks for everyone that helped! <style> @media screen and (max-width:900px) and (min-width:641px) { div#page-5f0cf7cd8480bd4a7f209852>.row:nth-child(2)>.col { width: 50%; } } </style> Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.