Jump to content

Bedford Template: How to stop zoom on cover page/banner images?

Recommended Posts

  • Replies 12
  • Views 5k
  • Created
  • Last Reply
Posted

@tuanphan I used this code in my custom css, i do not see a difference in the banner image. It is not changing the automatic zoom. Also I wanted this to un-zoom all the images, not just the one on the .homepage. hmm...

Thanks for the code though I will see what I can do with it.

Posted

Also I want to link to some other threads that don't seem to be getting any answers at all...

If we could figure this out i think it would help a lot of people who use squarespace.

https://answers.squarespace.com/questions/18185/beatrice-banner-images-zooming.html

https://answers.squarespace.com/questions/153759/zoom-out-banner-image-hayden-template.html

https://answers.squarespace.com/questions/197177/banner-zoomed-in.html

Posted

@PMDesigner That code will push the image down.

You have used position fixed for the header, and the content below will be pushed up. That causes the banner to be cut off a part above. You can use top margin, it can improve the problem part


.banner-thumbnail-wrapper.has-description {
   margin-top: 100px;
}

and this code


.homepage #thumbnail img {
   top: 0 !important;
   width: 100% !important;
   height: 100% !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!)

Posted

@PMDesigner That code will push the image down.

You have used position fixed for the header, and the content below will be pushed up. That causes the banner to be cut off a part above. You can use top margin, it can improve the problem part


.banner-thumbnail-wrapper.has-description {
   margin-top: 100px;
}

and this code


.homepage #thumbnail img {
   top: 0 !important;
   width: 100% !important;
   height: 100% !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!)

Posted

This worked for what I want, @tuanphan it didn't zoom out the image, but it made the top visible by making the text margin bigger, very creative. Very nice. Hopefully this can help other people who have this problem with their banners in Squarespace... Seeing as I doubt squarespace is gonna make this easier for us.

Posted
  • @tuanphan Ok this is really weird... on my machine it is working correctly, but when using another computer it acts completely different.

https://ibb.co/4RQgHb2

https://ibb.co/N6cJ9LS

Try going to this link:

https://earthworm-capybera-xrep.squarespace.com/careers

I'm using your code for the most part, but this part made my image stretch out in a bad way:


.homepage #thumbnail img {
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
}





Posted

This is true, I think the homepage for my site is alright as it is; so I didn't see this code as necessary, maybe thats why I'm getting this problem where other banners on different computers aren't working as they are on my machine...

@tuanphan have you been able to reproduce this problem? do you have any idea what could be causing this?

  • 3 months later...
Posted

I had the same issue with the Pacific template and after a few hours of debugging I found out that having a code block in the banner causes the banner image to zoom in. Removing the code block and replacing it with a text block solved the problem.

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.