Jump to content

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

Recommended Posts

  • Replies 12
  • Created
  • Last Reply

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

Link to comment

@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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

@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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.

Link to comment
  • @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;
}





Link to comment

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?

Link to comment
  • 3 months later...

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.