acervo Posted March 19, 2020 Share Posted March 19, 2020 Site URL: https://www.bellchem.com Good Morning, I am attempting to add a custom button in my footer via an image, but I add the image and it looks fine when viewing on the desktop, but when I look at it on mobile, it blows up the size of the image to fit the width of the screen. How do I get it to remain small like on the desktop site? Thanks, everyone! Link to comment
acervo Posted March 19, 2020 Author Share Posted March 19, 2020 After looking at another post, I successfully used this code: /* Resize footer images */ @media screen and (max-width: 640px) { footer .sqs-image .sqs-image-content img, footer .image-block { transform: scale(0.6) }} But now there is way too much space in between each element. Is there any way to change the padding for the mobile version only? Link to comment
tuanphan Posted March 23, 2020 Share Posted March 23, 2020 Try removing your code. And Add to Home > Design > Custom CSS @media screen and (max-width:640px) { div#block-yui_3_17_2_1_1584564431900_32230 img { width: 50% !important; height: auto !important; transform: translateX(-50%); left: 50% !important; } div#block-yui_3_17_2_1_1584564431900_32230 .image-block-wrapper { padding-bottom: 20% !important; } } 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
acervo Posted March 31, 2020 Author Share Posted March 31, 2020 On 3/23/2020 at 11:32 AM, tuanphan said: Thanks for the reply. That didn't have much change on the spacing in the footer on mobile. Link to comment
tuanphan Posted April 1, 2020 Share Posted April 1, 2020 Which spacing? top or bottom 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
SannaBuckhoj Posted March 17, 2022 Share Posted March 17, 2022 Does anyone know how to remove the spacing at the top, and how to place the image to the left side rather than the center? Link to comment
tuanphan Posted March 18, 2022 Share Posted March 18, 2022 11 hours ago, SannaBuckhoj said: Does anyone know how to remove the spacing at the top, and how to place the image to the left side rather than the center? What is site url? 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
SannaBuckhoj Posted March 20, 2022 Share Posted March 20, 2022 Hi @tuanphan - this is the website I am working on right now: https://twmh.squarespace.com/ Thank you!! Link to comment
tuanphan Posted March 21, 2022 Share Posted March 21, 2022 15 hours ago, SannaBuckhoj said: Hi @tuanphan - this is the website I am working on right now: https://twmh.squarespace.com/ Thank you!! Hi. What should it look like? 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
Miicherey Posted April 18 Share Posted April 18 Hi I also need help. I need to make the flower image on the footer larger only on the Contact Us page and only on desktop view. I attached a screenshot on how I want it to look like. Hopy you can help me. TYIA! URL: Contact Us — Componere (squarespace.com) Password: vip Link to comment
tuanphan Posted April 20 Share Posted April 20 On 4/18/2024 at 8:59 PM, Miicherey said: Hi I also need help. I need to make the flower image on the footer larger only on the Contact Us page and only on desktop view. I attached a screenshot on how I want it to look like. Hopy you can help me. TYIA! URL: Contact Us — Componere (squarespace.com) Password: vip Can you check site url? 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