AnnaOS Posted March 19, 2021 Posted March 19, 2021 (edited) Site URL: https://earthboundbabies.squarespace.com/ Hiya, I have edited css so that the top image banner on this page: https://earthboundbabies.squarespace.com/hypnobirthing-faq s shorter in mobile view. I like the height of it, but I don't like how it's cropping her face. I made the focal point higher in the image format box (on desktop) but it's not changing for mobile. Any suggestions greatly appreciated 🙂 password: hello123 CSS I used: @media screen and (max-width:640px) { section[data-section-id="6005c075dea472688fcc70eb"] .section-background img { width: 100% !important; } } @media screen and (max-width:640px) { section[data-section-id="6005c075dea472688fcc70eb"] { min-height: 60vh !important; } } Edited March 19, 2021 by AnnaOS
tuanphan Posted March 22, 2021 Posted March 22, 2021 Hi. I don't see image banner on homepage. Can you share link to exact page? 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!)
AnnaOS Posted March 23, 2021 Author Posted March 23, 2021 Hi @tuanphan The page is here: https://earthboundbabies.squarespace.com/hypnobirthing-faq Sorry, I realised I had another code under it that made it disappear. Fixed that. But still have issues with focal point. Ideally The mvh would be around 40 or 50. Thank you, Anna 🙂
tuanphan Posted March 25, 2021 Posted March 25, 2021 On 3/23/2021 at 4:43 PM, AnnaOS said: Hi @tuanphan The page is here: https://earthboundbabies.squarespace.com/hypnobirthing-faq Sorry, I realised I had another code under it that made it disappear. Fixed that. But still have issues with focal point. Ideally The mvh would be around 40 or 50. Thank you, Anna 🙂 Add this CSS @media screen and (max-width: 767px) { section[data-section-id="6005c075dea472688fcc70eb"] { min-height: 40vh !important; margin-top: 25vh; } } 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!)
AnnaOS Posted June 4, 2021 Author Posted June 4, 2021 Oops sorry I missed this @tuanphan thanks so much 🙂
SouthernSunEvents Posted June 29, 2021 Posted June 29, 2021 popping on this thread because I'm having a similar problem. Looking to bump the focus of this image up a little bit to have more sky included. I've messed with the position coding for a while now and can't seem to get things to shift up a bit. Any ideas? Also looking to make the nav bar transparent for mobile if possible. Thanks!
tuanphan Posted July 1, 2021 Posted July 1, 2021 On 6/29/2021 at 10:54 PM, SouthernSunEvents said: popping on this thread because I'm having a similar problem. Looking to bump the focus of this image up a little bit to have more sky included. I've messed with the position coding for a while now and can't seem to get things to shift up a bit. Any ideas? Also looking to make the nav bar transparent for mobile if possible. Thanks! Hi. 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!)
Miicherey Posted March 27, 2023 Posted March 27, 2023 Hello, I am having problems with the focal point as well. On mobile view, I set the focal point of the main banner to center the guy's face. But when I save it and view live, the guy would go off center again. Is it a bug? or can it be fixed with a code? The url is https://www.mystorage.vn/ Thank you!
Miicherey Posted March 28, 2023 Posted March 28, 2023 Hello, it seems the focal point is not working on image blocks when viewed on mobile? On mobile view edit, I set the focal point of the main banner to center the guy's face. But when I save it and view live, the guy would go off center again. Is it a bug? or can it be fixed with a code?
tuanphan Posted April 2, 2023 Posted April 2, 2023 On 3/28/2023 at 1:30 PM, Miicherey said: Hello, it seems the focal point is not working on image blocks when viewed on mobile? On mobile view edit, I set the focal point of the main banner to center the guy's face. But when I save it and view live, the guy would go off center again. Is it a bug? or can it be fixed with a code? You can add this to Design > Custom CSS to adjust it /* Mobile - Home - Top Image */ @media screen and (max-width:767px) { div#block-yui_3_17_2_1_1679909308335_12607 img { object-position: 80% 50% !Important; } } ps I like your service, I used to learn more & intend to use 😆 ACHK 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!)
Miicherey Posted April 5, 2023 Posted April 5, 2023 Hi Sorry for the late revert! I have tried it now and it works amazingly. Ooh I see! What a small world 😆 I'll let my client know! Thank you so much for the help 😊
maboli Posted July 19 Posted July 19 Hi, I am trying to change the focal pint on the header gallery on my home page, so it centres on the left-hand image? https://bellflower-opossum-txyn.squarespace.com/ studionh_nh
tuanphan Posted July 25 Posted July 25 On 7/19/2024 at 7:37 PM, maboli said: Hi, I am trying to change the focal pint on the header gallery on my home page, so it centres on the left-hand image? https://bellflower-opossum-txyn.squarespace.com/ studionh_nh You can use this code to Custom CSS @media screen and (max-width:767px) { body.homepage .gallery-fullscreen-slideshow-list img { object-position: 30% 50% !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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment