SSong Posted November 3, 2020 Share Posted November 3, 2020 Site URL: https://www.fortsferryfarm.com/journal/our-favorite-kitchen-tools Hi! I used the squarespace cropping handle tool to resize the kitchen tool images on the left to be the same height as the text blocks on the right which looks good on desktop, but then I want all these photos to have the same height on mobile — is that something that can be done with custom css? If so, how? Thank you! Link to comment
Beyondspace Posted November 3, 2020 Share Posted November 3, 2020 You want image to be equal height on this view right? since image ratio is different, make them same height may reduce width of some, 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
SSong Posted November 3, 2020 Author Share Posted November 3, 2020 13 hours ago, bangank36 said: You want image to be equal height on this view right? since image ratio is different, make them same height may reduce width of some, I would like the width to stay the same, so pretty much have all the kitchen tool images to be the same size/ratio on mobile. Link to comment
Beyondspace Posted November 4, 2020 Share Posted November 4, 2020 I tried to make their ratio as 75%, you can feel free to try, Copy to Design->Custom Css Your site is great, which template you used? @media only screen and (max-width: 600px) { #item-5f9b1c8421bce951fa5c24e4 .sqs-block-image-figure .v6-visually-hidden + div { padding-bottom: 75% !important; } #item-5f9b1c8421bce951fa5c24e4 .sqs-block-image-figure .thumb-image { top: 50% !important; height: auto !important; transform: translateY(-50%) } } 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
SSong Posted November 4, 2020 Author Share Posted November 4, 2020 13 hours ago, bangank36 said: I tried to make their ratio as 75%, you can feel free to try, Copy to Design->Custom Css Your site is great, which template you used? @media only screen and (max-width: 600px) { #item-5f9b1c8421bce951fa5c24e4 .sqs-block-image-figure .v6-visually-hidden + div { padding-bottom: 75% !important; } #item-5f9b1c8421bce951fa5c24e4 .sqs-block-image-figure .thumb-image { top: 50% !important; height: auto !important; transform: translateY(-50%) } } Thank you! This works great! And thanks for the kind words as well. The template we're using is Foster. Link to comment
Guest Posted September 5, 2021 Share Posted September 5, 2021 Ould a person be able to proportion a code for stacking the mobile classes menu? I see you acquire it to paintings to your website Simon for knives. The code shared with the aid of birdmade is not working for me. Link to comment
tuanphan Posted September 8, 2021 Share Posted September 8, 2021 On 9/6/2021 at 1:02 AM, njmkse333 said: Ould a person be able to proportion a code for stacking the mobile classes menu? I see you acquire it to paintings to your website Simon. The code shared with the aid of birdmade is not working for me. Can you share link to your site? 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.