kaitlinrayelle Posted February 25, 2020 Share Posted February 25, 2020 Site URL: https://tulip-violin-g9e5.squarespace.com/core-values Hello, I'm trying to align an image horizontally. It looks great until the webpage resizes to fit various screen sizes. I'd like to center it in relation to the text on the left, but haven't been able to figure out the right code. See attached screenshots for reference. I've tried everything and can't get it -- help would be SO appreciated! Link to comment
tuanphan Posted February 27, 2020 Share Posted February 27, 2020 Can you setup password & share 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
kaitlinrayelle Posted March 3, 2020 Author Share Posted March 3, 2020 @tuanphan oops, sorry. Done! Password is HFH, https://tulip-violin-g9e5.squarespace.com/core-values Link to comment
tuanphan Posted March 4, 2020 Share Posted March 4, 2020 21 hours ago, kaitlinrayelle said: @tuanphan oops, sorry. Done! Password is HFH, https://tulip-violin-g9e5.squarespace.com/core-values Add to Home > Design > Custom CSS @media screen and (min-width:641px) { div#page-5e544a9d734d5849d0c1899b>.row { display: flex; justify-content: center; align-items: center; } } 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
kaitlinrayelle Posted March 21, 2020 Author Share Posted March 21, 2020 On 3/4/2020 at 8:35 AM, tuanphan said: Add to Home > Design > Custom CSS @media screen and (min-width:641px) { div#page-5e544a9d734d5849d0c1899b>.row { display: flex; justify-content: center; align-items: center; } } @tuanphan it didn't work 😕 Link to comment
kaitlinrayelle Posted March 22, 2020 Author Share Posted March 22, 2020 Finally figured it out! you need to use the row id! here's a sample: #yui_3_17_2_1_1584842933157_421 { display: flex !important; justify-content: center !important; align-items: center !important; } Link to comment
tuanphan Posted March 22, 2020 Share Posted March 22, 2020 1 hour ago, kaitlinrayelle said: Finally figured it out! you need to use the row id! here's a sample: #yui_3_17_2_1_1584842933157_421 { display: flex !important; justify-content: center !important; align-items: center !important; } Your code won't work, try F5 ;) 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
tuanphan Posted March 22, 2020 Share Posted March 22, 2020 I see the code worked here? @media screen and (min-width:641px) { div#page-5e544a9d734d5849d0c1899b>.row { display: flex; justify-content: center; align-items: center; } } 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
kaitlinrayelle Posted March 22, 2020 Author Share Posted March 22, 2020 17 hours ago, tuanphan said: I see the code worked here? @media screen and (min-width:641px) { div#page-5e544a9d734d5849d0c1899b>.row { display: flex; justify-content: center; align-items: center; } } Just when I thought we had it... no, that's not working? it looks good on a desktop but when resized to the ipad it's not centered Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.