Aki_0011 Posted September 2, 2021 Share Posted September 2, 2021 Site URL: https://www.vaseconstruction.com Hi! I just want to ask if anyone has a CSS code to turn the carousel summary block into stacked mode when viewed on mobile? Summary block looks fine on desktop view: But when switched to mobile it starts with a blank white area, and then slides into 4 thumbnails. Ideally, we wanted this stacked so it looks nice on a small screen. Thanks to anyone who can help. Link to comment
tuanphan Posted September 7, 2021 Share Posted September 7, 2021 Hi, Can you disable summary autoplay temporarily? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Aki_0011 Posted September 17, 2021 Author Share Posted September 17, 2021 Hi @tuanphanits disabled now. Link to comment
Solution tuanphan Posted September 18, 2021 Solution Share Posted September 18, 2021 (edited) On 9/17/2021 at 10:42 PM, Aki_0011 said: Hi @tuanphanits disabled now. Hi, Don't remove any code in your current code. Add this to Design > Custom CSS /* Stacked homepage summary */ @media screen and (max-width:767px) { body.homepage .summary-item { width: 100% !important; } body.homepage .summary-carousel-pager.sqs-gallery-controls { display: none; } } Edited September 22, 2021 by tuanphan Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Aki_0011 Posted September 21, 2021 Author Share Posted September 21, 2021 Thank you so much! It worked! ^__^ PS: How do I get rid of the arrow buttons above the summary block in mobile? Link to comment
tuanphan Posted September 22, 2021 Share Posted September 22, 2021 21 hours ago, Aki_0011 said: Thank you so much! It worked! ^__^ PS: How do I get rid of the arrow buttons above the summary block in mobile? Updated above code Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
justjilllauren Posted March 28, 2022 Share Posted March 28, 2022 Hi, I'm using a similar code to the above but my content is shrinking smaller than it should. There is a lot of empty space on the right side even though my width is set to 100%. Any ideas on how to fix this? This is the code I have now: /* Stacked homepage summary */ @media screen and (max-width:767px) { .sqs-block-summary-v2 .summary-item.positioned { width: 100% !important; position: static; } .sqs-block-summary-v2 .summary-item-list { display: flex; flex-wrap: wrap; flex-direction: row; } site: collectorsquadron.com (no password needed - site is live) Link to comment
tuanphan Posted March 29, 2022 Share Posted March 29, 2022 6 hours ago, justjilllauren said: Hi, I'm using a similar code to the above but my content is shrinking smaller than it should. There is a lot of empty space on the right side even though my width is set to 100%. Any ideas on how to fix this? This is the code I have now: /* Stacked homepage summary */ @media screen and (max-width:767px) { .sqs-block-summary-v2 .summary-item.positioned { width: 100% !important; position: static; } .sqs-block-summary-v2 .summary-item-list { display: flex; flex-wrap: wrap; flex-direction: row; } site: collectorsquadron.com (no password needed - site is live) Try adding to Design > Custom CSS html, body { overflow-x:hidden; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
justjilllauren Posted March 29, 2022 Share Posted March 29, 2022 12 hours ago, tuanphan said: Try adding to Design > Custom CSS html, body { overflow-x:hidden; } Thanks, but I'm not seeing any change. Anything else I can try? Link to comment
Melbaspence Posted September 27, 2022 Share Posted September 27, 2022 @tuanphan I have a related question, but I don't think it's addressed here (or anywhere else I could find). I am using a summary carousels on my HP (two for product and one for blog). It appears fine on desktop. In mobile, all of the items appear stacked, 2 per row, on the main page. When you click on the right arrow, it's a blank screen. (See attached.) I only want 2 items to appear on the main page, with functionality to click right arrow to see more. I think I might have some other code in CSS that's creating 2 columns for summary grids across the site, and I still want that elsewhere. Do you have a solution? My site is: https://vuvuzela-pug-95je.squarespace.com (PW: flowerZ612) Many thanks! Link to comment
Melbaspence Posted September 27, 2022 Share Posted September 27, 2022 @tuanphan Noodled around some more and I figured it out. I removed the old code which which I believed covered ALL summary blocks. After that the functionality for carousel was correct. Then I found code below to create two column on mobile for grid summary only. tuanphan 1 Link to comment
theloopylace Posted March 2, 2023 Share Posted March 2, 2023 Hi, I used this code on my website, apoppyplace.com, and there is a lot of open space on the right side. How can I center it? Thanks /* Stacked homepage summary */ @media screen and (max-width:767px) { body.homepage .summary-item { width: 100% !important; } body.homepage .summary-carousel-pager.sqs-gallery-controls { display: none; } } Link to comment
theloopylace Posted March 2, 2023 Share Posted March 2, 2023 I am trying to stack the carousel summary block on my home page in mobile. apoppyplace.com Thanks! Link to comment
tuanphan Posted March 5, 2023 Share Posted March 5, 2023 On 3/3/2023 at 3:03 AM, theloopylace said: I am trying to stack the carousel summary block on my home page in mobile. apoppyplace.com Thanks! You can consider adding 2 Summaries: Carousel - Stacked, then we can give code to show 1 on desktop, show another on mobile. Convert from Carousel to Stacked is very complex Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ZKE Posted January 22 Share Posted January 22 Hi - I am trying to do the same thing and am willing to do two summaries, and show one and mobile and one on desktop. Can you provide the code for the solution? My site is live and I'm editing an unenabled page so if you can just provide the general code, I can tweak it for my needs. Link to comment
tuanphan Posted January 23 Share Posted January 23 9 hours ago, ZKE said: Hi - I am trying to do the same thing and am willing to do two summaries, and show one and mobile and one on desktop. Can you provide the code for the solution? My site is live and I'm editing an unenabled page so if you can just provide the general code, I can tweak it for my needs. You can duplicate the page & add there, I can give code for duplicated page & give you a quick guide to apply it to main page Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ZKE Posted February 7 Share Posted February 7 On 1/23/2024 at 3:37 AM, tuanphan said: You can duplicate the page & add there, I can give code for duplicated page & give you a quick guide to apply it to main page Hi @tuanphan -- the page is live now: https://www.dearavantgardener.com/. I'd like to stack those first two blog posts on mobile and have them side by side on desktop. thanks for your help Link to comment
tuanphan Posted February 11 Share Posted February 11 On 2/7/2024 at 8:13 PM, ZKE said: Hi @tuanphan -- the page is live now: https://www.dearavantgardener.com/. I'd like to stack those first two blog posts on mobile and have them side by side on desktop. thanks for your help You can use this code to Website > Website Tools > Custom CSS @media screen and (max-width:767px) { body.homepage .summary-item { width: 100% !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ZKE Posted February 25 Share Posted February 25 Thank you @tuanphan -- unfortunately this solution only shows the first summary block item on mobile, instead of stacking both. From other pages I see the solution is to have two summary blocks, carousel and grid, and hide the first on mobile and second on desktop. I've done this on page dearavantgardener.com/home-1. Can you please help me with the CSS? Link to comment
ZKE Posted February 25 Share Posted February 25 @tuanphan Nevermind, I think I found the code! For everyone else looking for this solution, inject this custom CSS in the Website Tools and replace the placeholder text with your own section IDs: // Hiding and showing sections @media screen and (max-width: 641px) { section[data-section-id="YOUR-SECTION-ID-HIDE-FROM-MOBILE"] { display:none !important; } } @media screen and (min-width: 641px) { section[data-section-id="YOUR-SECTION-ID-HIDE-FROM-DESKTOP"] { display:none !important; } } tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment