groundsy Posted July 21, 2020 Share Posted July 21, 2020 Site URL: https://www.dthmedia.com.au/ I have a sizing issue on mobile that I would like to try and fix. The image blocks on desktop look great but when these resize for mobile, they are far too large. Is there a way at keeping these at a particular pixel width/height for both desktop and mobile? See attached screenshots to see whats happening. The icons in question appear on the following pages: https://www.dthmedia.com.au/printing and https://www.dthmedia.com.au/design Cheers, James Link to comment
ChristopherBerman Posted July 21, 2020 Share Posted July 21, 2020 You can try using this code - i`ve copied your page-section-id already. so just paste this into your custom css /*Picture size*/ #page-section-5f0fa2f7e65d14330d2bd9cf .sqs-block-image-figure.intrinsic { max-width: 300px !important; } You can tweak the max width to a size you want. Link to comment
groundsy Posted July 24, 2020 Author Share Posted July 24, 2020 Hi @ChristopherBerman, It's changed on the desktop, but hadn't changed on mobile. Is there extra CSS needed to reflect the size change on mobile? Thanks, James Link to comment
ChristopherBerman Posted July 25, 2020 Share Posted July 25, 2020 Try using this - send me a message if it doesn`t work @groundsy @media screen and (min-width: 800px) { #page-section-5f0fa2f7e65d14330d2bd9cf .sqs-block-image-figure.intrinsic { max-width: 300px !important; } Link to comment
groundsy Posted July 27, 2020 Author Share Posted July 27, 2020 Hi @ChristopherBerman, I've added in your coding but I'm still getting icons appearing full width on mobile. Thanks, James Link to comment
tuanphan Posted July 27, 2020 Share Posted July 27, 2020 Add to Home > Design > Custom CSS @media screen and (max-width:767px) { /* design page */ div#block-yui_3_17_2_1_1594864815195_13755+.row>.col .image-block { width: 50% !important; margin: 0 auto; } /* printing page */ div#block-yui_3_17_2_1_1594860272131_4969+.row .image-block { width: 50%; margin: 0 auto; } } 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
groundsy Posted July 27, 2020 Author Share Posted July 27, 2020 Thanks @tuanphan it's all fixed 😀 Link to comment
Ivan_M Posted February 1, 2021 Share Posted February 1, 2021 Hi! I'm having the same problem here: Site URL: https://www.continuastudio.com/ Link to comment
tuanphan Posted February 4, 2021 Share Posted February 4, 2021 On 2/2/2021 at 6:59 AM, Ivan_M said: Hi! I'm having the same problem here: Site URL: https://www.continuastudio.com/ Add to Design > Custom CSS /* resize footer logo */ @media screen and (max-width:767px) { div#block-yui_3_17_2_1_1594082580712_20722 { width: 30%; margin: 0 auto; } } 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
saraschaepe Posted June 29, 2021 Share Posted June 29, 2021 On 2/4/2021 at 4:08 AM, tuanphan said: Add to Design > Custom CSS /* resize footer logo */ @media screen and (max-width:767px) { div#block-yui_3_17_2_1_1594082580712_20722 { width: 30%; margin: 0 auto; } } Hi! I am having a similar issue with my layout as well. The gallery slider won't resize for mobile as well as any of the header images I have put in. I've tried so many different variations of codes and am losing my mind. Link to comment
tuanphan Posted July 1, 2021 Share Posted July 1, 2021 On 6/29/2021 at 7:35 AM, saraschaepe said: Hi! I am having a similar issue with my layout as well. The gallery slider won't resize for mobile as well as any of the header images I have put in. I've tried so many different variations of codes and am losing my mind. Hi. What is site url? 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
SouthernSunEvents Posted July 27, 2021 Share Posted July 27, 2021 On 2/4/2021 at 5:08 AM, tuanphan said: /* resize footer logo */ @media screen and (max-width:767px) { div#block-yui_3_17_2_1_1594082580712_20722 { width: 30%; margin: 0 auto; } } Using this code to increase an image block for mobile but I'm not able to get it centered. Trying to figure out what I need to adjust to the code for positioning. http://www.southernsunevents.com PW: sse2020 Link to comment
tuanphan Posted July 29, 2021 Share Posted July 29, 2021 On 7/28/2021 at 6:07 AM, SouthernSunEvents said: Using this code to increase an image block for mobile but I'm not able to get it centered. Trying to figure out what I need to adjust to the code for positioning. http://www.southernsunevents.com PW: sse2020 If you use width: 110%, use this new code @media screen and (max-width:640px) { div#block-yui_3_17_2_1_1626402590302_10651 { width: 110%; margin: 0 auto; left: -10%; } } 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
SouthernSunEvents Posted July 29, 2021 Share Posted July 29, 2021 26 minutes ago, tuanphan said: @media screen and (max-width:640px) { div#block-yui_3_17_2_1_1626402590302_10651 { width: 110%; margin: 0 auto; left: -10%; } } Awesome! How would I go about moving the logo down a bit so it's not over their faces? Thanks for your help! Link to comment
tuanphan Posted July 29, 2021 Share Posted July 29, 2021 7 hours ago, SouthernSunEvents said: Awesome! How would I go about moving the logo down a bit so it's not over their faces? Thanks for your help! use top: -100px; SouthernSunEvents 1 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
SouthernSunEvents Posted July 29, 2021 Share Posted July 29, 2021 6 hours ago, tuanphan said: use top: -100px; Perfect! Thank you so so much! Link to comment
TLKPLD Posted September 13, 2021 Share Posted September 13, 2021 (edited) Hi! I'm also having this problem with small logo image blocks and logo walls that I use on the bottom of my home page, one of my bio pages, and my contact page. The logos look small and correct on desktop but fill the entire screen on mobile. URLs here: https://sawfish-parrot-dswf.squarespace.com/ https://sawfish-parrot-dswf.squarespace.com/contact https://sawfish-parrot-dswf.squarespace.com/attorneys/kevinlundholm Edited September 13, 2021 by TLKPLD Link to comment
tuanphan Posted September 16, 2021 Share Posted September 16, 2021 On 9/13/2021 at 9:16 PM, TLKPLD said: Hi! I'm also having this problem with small logo image blocks and logo walls that I use on the bottom of my home page, one of my bio pages, and my contact page. The logos look small and correct on desktop but fill the entire screen on mobile. URLs here: https://sawfish-parrot-dswf.squarespace.com/ https://sawfish-parrot-dswf.squarespace.com/contact https://sawfish-parrot-dswf.squarespace.com/attorneys/kevinlundholm Answered your message. You can check it again. 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
IwanJ Posted May 26, 2022 Share Posted May 26, 2022 Hi @tuanphan, me again! Any ideas how I can reduce the space between heading and top section bottom border on MOBILE view in this particular section on homepage? Please? https://deep-learning-cafe.squarespace.com/ password: password123 Link to comment
tuanphan Posted May 27, 2022 Share Posted May 27, 2022 21 hours ago, IwanJ said: Hi @tuanphan, me again! Any ideas how I can reduce the space between heading and top section bottom border on MOBILE view in this particular section on homepage? Please? https://deep-learning-cafe.squarespace.com/ password: password123 adjust 135 @media screen and (max-width: 767px) { [data-section-id="628f16bb0a4af13482286d70"] video { width:100% !important; height: auto !important } [data-section-id="628f16bb0a4af13482286d70"] { min-height: unset !important; height: 135vh; margin-top: 0vh } } 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
IwanJ Posted May 29, 2022 Share Posted May 29, 2022 On 5/27/2022 at 12:40 PM, tuanphan said: @media screen and (max-width: 767px) { [data-section-id="628f16bb0a4af13482286d70"] video { width:100% !important; height: auto !important } [data-section-id="628f16bb0a4af13482286d70"] { min-height: unset !important; height: 135vh; margin-top: 0vh } } Hi Tuan, if I do this, then the whole top section disappears... Link to comment
tuanphan Posted June 1, 2022 Share Posted June 1, 2022 On 5/29/2022 at 11:58 PM, IwanJ said: Hi Tuan, if I do this, then the whole top section disappears... To remove space, edit this code @media screen and (max-width: 767px) { [data-section-id="61768984a9b12a61e5da1d86"] { min-height:unset !important; height: 85vh; margin-top: -45vh } } 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
duducampos Posted October 17, 2022 Share Posted October 17, 2022 On 9/13/2021 at 11:16 AM, TLKPLD said: Hi! I'm also having this problem with small logo image blocks and logo walls that I use on the bottom of my home page, one of my bio pages, and my contact page. The logos look small and correct on desktop but fill the entire screen on mobile. URLs here: https://sawfish-parrot-dswf.squarespace.com/ https://sawfish-parrot-dswf.squarespace.com/contact https://sawfish-parrot-dswf.squarespace.com/attorneys/kevinlundholm Would love to know how this one was solved, same issue here. Best! 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