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

  • Replies 5
  • Views 232
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
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)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.png.a965e233b745e05300127b3260d8f8c7.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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!)

Link to comment

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.