Jump to content

Scale instead of Crop heading image

Recommended Posts

Posted

Site URL: https://wocostudios.com/bellehumeur-co

Hello,

I am trying to understand how these 7.1 sections work, and I am a bit confused on how to get the image at the top of the page to scale down rather than crop in from desktop --> mobile

So the mobile view and desktop view (good) screenshots are what I am going for. My challenge is, in order to get the mobile to look like that I have to make the section height "Small" which results in the desktop view (bad) screenshot I attached.

Is there a way to have this particular section header scale down rather than crop in when it goes from Desktop --> Mobile?

Additionally, (not sure if I need a separate post for this, if so not a problem to make one)

desktop view (bad).PNG

desktop view (good).PNG

Mobile View.PNG

  • Replies 3
  • Views 788
  • Created
  • Last Reply
Posted

Hi Tuanphan, so actually I didn't get it quite how I wanted. The (imperfect) "solution" I found was by not using the image as a "background image" of the section but rather as an image block in the section. This is basically the same, except the image doesn't go full bleed unfortunately :( 

Posted
On 9/27/2021 at 2:33 AM, WoCo said:

Hi Tuanphan, so actually I didn't get it quite how I wanted. The (imperfect) "solution" I found was by not using the image as a "background image" of the section but rather as an image block in the section. This is basically the same, except the image doesn't go full bleed unfortunately :( 

Hi,

To make image block fullbleed, add this code to Design > Custom CSS

[data-section-id="614ce12d33822675747afc1d"] .content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !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!)

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.