Jump to content

Urgent help needed to display single item on "carousel" summary block on mobile

Recommended Posts

I'm using this code, but it doesn't appear to be working:

@media only screen and (max-width: 767px) {
section[data-section-id="656f4076490dde237c03bc05"] .summary-item {
    width: 101.5% !important;
  }

section[data-section-id="656f4076490dde237c03bc05"] .summary-item .img-wrapper img {
    width: 100% !important;
    height: 100% !important;
  } 
}

Instead, it's clipping sections off each image and only showing a portion of results. It needs to display the full carousel... With each image at 100% width.

chrisdavisfurniture.co.uk
Password: albion

Link to comment

You may be better off with this code:

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

The images appear to be the problem, this code works a little better though:

@media only screen and (max-width: 767px) {
  section[data-section-id="656f4076490dde237c03bc05"] .sqs-gallery-design-carousel .sqs-gallery-design-carousel-slide {
    width: 101% !important;
  }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
1 hour ago, merakiconceptstudio said:

@Ziggy That code has solved the image-cutting problem, but why is it only showing 7 results? I want it to show everything in the carousel. Do you know how to do this?

I have no idea why this would reduce the number, I didn't notice when testing, how many should you have?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

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