Jump to content

Site Optimization not working on mobile

Recommended Posts

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

IMG_3346.jpg

Annotation 2020-05-22 151548.png

Link to comment
  • Replies 6
  • Views 423
  • Created
  • Last Reply

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
@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

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.