Jump to content

Banner image significantly cropped in mobile view online, but shows up just fine on preview in editor.

Go to solution Solved by Beyondspace,

Recommended Posts

Posted

Site URL: https://www.karolinawalsh.com/

My banner image is only showing the most upper part of the image on mobile view on phone. In the preview in the editor the image looks ok though still significantly cropped. Would like to have the full image shown on mobile. Can anyone help me out with that?

IMG_42DD3741FD82-1.jpeg

Screen Shot 2022-04-20 at 9.27.04 AM.png

Screen Shot 2022-04-20 at 9.27.52 AM.png

  • Replies 5
  • Views 391
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
Posted
1 hour ago, Karolina said:

Site URL: https://www.karolinawalsh.com/

My banner image is only showing the most upper part of the image on mobile view on phone. In the preview in the editor the image looks ok though still significantly cropped. Would like to have the full image shown on mobile. Can anyone help me out with that?

IMG_42DD3741FD82-1.jpeg

Screen Shot 2022-04-20 at 9.27.04 AM.png

Screen Shot 2022-04-20 at 9.27.52 AM.png

Try

@media only screen and (max-width: 767px){
  #collection-52deb212e4b043856341b2f0 #page-header-wrapper {
    background-attachment: unset;
    background-repeat: no-repeat; 
  }
}

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted

I'm noticing that this is the case, banner picture is majorly cropped, on all my mobile pages. Is there an easy way to modify this code so it changes all my pages?

Posted
On 4/20/2022 at 11:08 PM, Karolina said:

I'm noticing that this is the case, banner picture is majorly cropped, on all my mobile pages. Is there an easy way to modify this code so it changes all my pages?

Try this new code

@media only screen and (max-width: 767px){
 #page-header-wrapper {
    background-attachment: unset;
    background-repeat: no-repeat; 
  }
}

 

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!)

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.