Guest Posted May 22, 2020 Share Posted May 22, 2020 Site URL: http://www.nirbhaykuppu.xyz Hey guys, so I've run into a little bit of an issue. I just created a website which works well on PC. However when I open it on the phone the images don't resize to fit the screen, they are all stretched and weird. Also when i open my website up it shows up as an non secure domain, and its red. Any ideas how i can solve this stuff? Thanks so much Nirbhay Link to comment
tuanphan Posted May 22, 2020 Share Posted May 22, 2020 With non secure domain, enable SSL: https://support.squarespace.com/hc/en-us/articles/205815898-Understanding-SSL-certificates With image, add to Home > Design > Custom CSS @media screen and (max-width:640px) { .index-item-width-full .index-section img { width: 100% !important; left: 0 !important; height: auto !important; } .homepage article.index-item.has-item-image { height: 20vh; } } 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
Guest Posted May 22, 2020 Share Posted May 22, 2020 Thank you sooo much, you're awesome! Link to comment
Guest Posted May 22, 2020 Share Posted May 22, 2020 Any suggestions you might have for the website are welcome! Link to comment
Guest Posted May 22, 2020 Share Posted May 22, 2020 @tuanphan the thing is all my images changes resolution and also the Commercial section changed isnt working properly now. Link to comment
Guest Posted May 22, 2020 Share Posted May 22, 2020 @tuanphan im not able to understand why the commercial page is displaying wrong on mobile. www.nirbhaykuppu.xyz/commercial Link to comment
tuanphan Posted May 22, 2020 Share Posted May 22, 2020 @media screen and (max-width:640px) { .index-item-width-full .index-section img { width: 100% !important; left: 0 !important; height: auto !important; } /* homepage */ .homepage article.index-item.has-item-image { height: 20vh; } /* Commercial */ body#collection-5ec7632ada11085700454c35 article.index-item.has-item-image { height: 15vh; } } 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
Archived
This topic is now archived and is closed to further replies.