B-Digital Posted July 21, 2023 Share Posted July 21, 2023 Hey, I'm helping a client create this landing page and I'm having an issue with the summary block under the 'Testimonials' subheading on mobile. Original this broke the page, but using some CSS I found online I've managed to turn these items into a stacked layout – However we'd ideally like for this to be a single column carousel, so the user can scroll through the four testimonials, rather than them being in a long list – Is this possible? I've pasted the current CSS below and if anyone could help us out with extra CSS/JavaScript it would be much appreciated! @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; } } Link to comment
tuanphan Posted July 22, 2023 Share Posted July 22, 2023 You can consider adding 2 summaries: 1 show 2 items/row, 1 show 1 item/row, then we can give code to show 1 on desktop, show another on mobile 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
Create an account or sign in to comment
You need to be a member in order to leave a comment