jd2020 Posted January 7, 2021 Share Posted January 7, 2021 Site URL: http://www.her-table.com/home2 Hi, If anyone could help me that would be greatly appreciated. I am trying to adjust the layout of my carousel blog to go from side by side to a stacked look on mobile view. Password to enter site is: Harmony I have tried using this code: @media screen and (max-width: 640px) { #blog-navigation { .summary-item-list { display: flex; } } I know there is more code needed to make the adjustment, but my site does not respond to this. This should squish all the blog posts together as step one to getting it into a stacked look. The full generic code ive been using looks like this: #your-section-name-here { @media screen and (max-width: 640px) { .summary-item-list { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } .summary-item { width: 100%!important; margin-bottom: 50px; } .summary-item:nth-child(n+4) { display: none; } .summary-carousel-pager { display: none!important; } } @media screen and (min-width: 641px) { .button-block { display: none; }}} Please let me know if you can help. 7.0 site. Link to comment
Beyondspace Posted January 10, 2021 Share Posted January 10, 2021 On 1/7/2021 at 10:01 PM, jd2020 said: Site URL: http://www.her-table.com/home2 Hi, If anyone could help me that would be greatly appreciated. I am trying to adjust the layout of my carousel blog to go from side by side to a stacked look on mobile view. Password to enter site is: Harmony I have tried using this code: @media screen and (max-width: 640px) { #blog-navigation { .summary-item-list { display: flex; } } I know there is more code needed to make the adjustment, but my site does not respond to this. This should squish all the blog posts together as step one to getting it into a stacked look. The full generic code ive been using looks like this: #your-section-name-here { @media screen and (max-width: 640px) { .summary-item-list { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; } .summary-item { width: 100%!important; margin-bottom: 50px; } .summary-item:nth-child(n+4) { display: none; } .summary-carousel-pager { display: none!important; } } @media screen and (min-width: 641px) { .button-block { display: none; }}} Please let me know if you can help. 7.0 site. Please provide the site password BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
Beth_King Posted April 13, 2021 Share Posted April 13, 2021 I have exactly the same code and issue - I need to stack the blog summary block on mobile on my site https://aardvark-caper-aggg.squarespace.com/ Please can someone help...The code posted above isnt working....Thanks, Beth Link to comment
derricksrandomviews Posted April 13, 2021 Share Posted April 13, 2021 Easiest way is to sacrifice the desktop carousel and use a wall or a grid.. Link to comment
Beth_King Posted May 13, 2021 Share Posted May 13, 2021 Thank, but thats not possible for the site i'm building. I just want to stack the first 3 summary blog entries in the carousel on mobile. Side by side the images are too small. Link to comment
tuanphan Posted May 14, 2021 Share Posted May 14, 2021 23 hours ago, Beth_King said: Thank, but thats not possible for the site i'm building. I just want to stack the first 3 summary blog entries in the carousel on mobile. Side by side the images are too small. You can add 2 summaries, top (current summary), bottom (summary with 1 item/row), then we will give the code to show bottom summary on mobile only 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.