Arenshi Posted March 13, 2022 Share Posted March 13, 2022 Site URL: https://www.echargeinstalls.com Hello, On the desktop version the size is correct, on the mobile version they're big as hell. this is the page I'm talking about https://www.echargeinstalls.com/nl/wallboxpulsarplus I tried: @media only screen and (max-width:640px) { .sqs-block-image {width:60%; margin:auto}} But this of course resizes all images on the website, which I don't want. I only want to target specific image blocks to resize. Thanks in advance! Link to comment
Beyondspace Posted March 13, 2022 Share Posted March 13, 2022 6 hours ago, Arenshi said: Site URL: https://www.echargeinstalls.com Hello, On the desktop version the size is correct, on the mobile version they're big as hell. this is the page I'm talking about https://www.echargeinstalls.com/nl/wallboxpulsarplus I tried: @media only screen and (max-width:640px) { .sqs-block-image {width:60%; margin:auto}} But this of course resizes all images on the website, which I don't want. I only want to target specific image blocks to resize. Thanks in advance! You can combine using the block id selector to set style for this block only. Here is an example @media only screen and (max-width:640px) { #blockid.sqs-block-image { width:60%; margin:auto } } An extension to get block id: Squarespace ID Finder: https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en Here is how to use it: https://recordit.co/kUIH4uco0b BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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
Arenshi Posted March 13, 2022 Author Share Posted March 13, 2022 Hello, thanks already for the reply. Sorry for the newbie question but I can't seem to find the good implementation of the code. How would the code look like using this block for example? #block-54dd822535bd225152ca @media only screen and (max-width:640px) { #blockid.sqs-block-image { width:60%; margin:auto } } Link to comment
tuanphan Posted March 15, 2022 Share Posted March 15, 2022 On 3/14/2022 at 2:28 AM, Arenshi said: Hello, thanks already for the reply. Sorry for the newbie question but I can't seem to find the good implementation of the code. How would the code look like using this block for example? #block-54dd822535bd225152ca @media only screen and (max-width:640px) { #blockid.sqs-block-image { width:60%; margin:auto } } Hi, Which images are you referrring to? We can give the exact code 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
Arenshi Posted March 15, 2022 Author Share Posted March 15, 2022 Hello, thanks for responding, I've figured it out! Kind regards, Link to comment
Eustace Posted April 7, 2022 Share Posted April 7, 2022 Hi I have a kind of same question here. I would only want to resize the mobile product image without changing any thing on the desktop display, but I couldn't get it done. From my experience, that image has only one id so its bothering either desktop or mobile. Link to comment
tuanphan Posted April 10, 2022 Share Posted April 10, 2022 On 4/7/2022 at 2:03 PM, Eustace said: Hi I have a kind of same question here. I would only want to resize the mobile product image without changing any thing on the desktop display, but I couldn't get it done. From my experience, that image has only one id so its bothering either desktop or mobile. Can you share link to page where you use image? 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment