ampddesigns Posted March 3 Share Posted March 3 Hi! Is there a way to still show the breadcrumbs on mobile view? I've tried targeting the breadcrumb code and displaying it to block with a media query for mobile, but that doesn't seem to work. For reference, here's the site and a product page. Breadcrumb shows up on desktop but not mobile: https://beamcenter.squarespace.com/benefit-brunch https://beamcenter.squarespace.com/benefit-brunch/p/illuminator Password: beam Thank you! Link to comment
tuanphan Posted March 6 Share Posted March 6 Add to Design > Custom CSS @media screen and (max-width:767px) { .ProductItem-nav .ProductItem-nav-breadcrumb, .ProductItem-nav { display: flex !important; } .hidden-sm-down { display: block !important; width: 100% !important; } } 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
AlexSaunders Posted March 6 Share Posted March 6 I've just tried this and it just expanded the product images on mobile and the breadcrumbs still weren't visible..? Link to comment
ampddesigns Posted March 6 Author Share Posted March 6 (edited) 14 hours ago, tuanphan said: Add to Design > Custom CSS @media screen and (max-width:767px) { .ProductItem-nav .ProductItem-nav-breadcrumb, .ProductItem-nav { display: flex !important; } .hidden-sm-down { display: block !important; width: 100% !important; } } Awesome, this worked for me. Thank you! Edited March 6 by ampddesigns Link to comment
ampddesigns Posted March 7 Author Share Posted March 7 On 3/6/2023 at 1:21 AM, tuanphan said: Add to Design > Custom CSS @media screen and (max-width:767px) { .ProductItem-nav .ProductItem-nav-breadcrumb, .ProductItem-nav { display: flex !important; } .hidden-sm-down { display: block !important; width: 100% !important; } } I spoke too soon — this actually created some other problems where the button wasn't clickable and the image repeated 3 times on mobile. I imagine the button issue could be fixed with z-index. I didn't have much time to figure out what was going on with the image, so I just removed the code and will forego the breadcrumb for now. Hopefully Squarespace will add this feature in for mobile; not sure why it isn't an option. 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