couldbegood Posted December 19, 2022 Share Posted December 19, 2022 Hi Anyone know how to show adjacent items for carousel on mobile view? I've used Will Meyers code to show more than one item Here's what I was thinking: Thanks! nickehsmith 1 Link to comment
tuanphan Posted December 21, 2022 Share Posted December 21, 2022 Hi, Can you share link to page where you use Carousel? We can check easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
nickehsmith Posted January 2 Share Posted January 2 Stumbled on the same issue. I'm useless at Flex, the Will Meyers code helped me out with the first part. I know this can't be the right way to approach it but before I gave up I tried tweaking the margin on the targeted class. Quote .user-items-list-carousel__slides { grid-template-columns: ~"repeat(2,1fr)" !important; margin-left:29% !important; } That seems a place to start, I've then just stumbled around with padding and grid-space until it looks passable. I think I'm going to code jail but it's a client request and something that should be implemented in the autolayout block anyway Link to comment
couldbegood Posted January 4 Author Share Posted January 4 On 12/21/2022 at 8:55 AM, tuanphan said: Hi, Can you share link to page where you use Carousel? We can check easier unthinkable.squarespace.com/home-final PW: unthinkable Thanks! Link to comment
Solution couldbegood Posted January 19 Author Solution Share Posted January 19 (edited) For anyone that is interested.. Here's what worked for me. Code was pasted in the site Header: <style> @media screen and (max-width:767px) { .user-items-list-item-container[data-section-id="639c679e8b229b37d4607eed"] ul { grid-template-columns: repeat(2,1fr) !Important; margin-left:29% !important; } } </style> Thanks @nickehsmith for the missing bit Edited January 19 by couldbegood 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