Jump to content

Misalignment of background pictures on mobile when parallax disabled.

Recommended Posts

Site URL: https://tobiashaunhorst.com/tobiashaunhorst-de

 

Dear Forum!

I am having trouble with misaligned background pictures that get cropped in an awkward way in mobile view.

I had to disable Parallax effect for mobiles, as it created issues with functionality and a strange whirring effect. This was done via code from this forum.

Now the pics are static but weirdly cropped.

I had already aligned all pictures via the focus point in the page settings. However this setting seems to be ignored by the software.

How can I ensure reasonable alignment of the pictures on mobiles?

Thank you for all your help!

Tobias

 

Link to comment
  • Replies 1
  • Views 227
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Try adding this to Design > Custom CSS (for first image). If it works, we will check other images

@media screen and (max-width:640px) {
body#collection-5ed0fdc2fa7bcf673aec5631 {
.Parallax-item:first-child img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
}
section#pianist-de {
    height: 200px;
}}
}

 

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.