Jump to content

eliasbalk

Circle Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by eliasbalk

  1. 2 hours ago, rwp said:

    I didn't see anything when I looked.

    Are you using squarespace's parallax, or a different code?

    I have the Squarespace Parallax active. No other code. Parallax works great until i use the CSS below. Then i get the zoom-in issue caused by the browser address bar hiding when on a mobile device.

    /* show home page block dependent on screen size */ 
    @media only screen and (max-width: 780px) { #home-banner { display: none; } } 
    @media only screen and (min-width: 781px) { #home-banner-mobile { display: none; } }
  2. 13 hours ago, rwp said:

    This looks like its due to the web address bar hiding as you scroll.

    The parallax code is setting the image height based on the viewport height. When the address bar goes away, the viewport height gets larger and increases the image size.

    Hi @rwp, thank you for the explanation. That makes sense. Normally that does not happen on mobile with parallax so i am wondering if there might be some CSS which fixes the image height to the first determined height based on the initial viewport height? Any idea? 

  3. Hi @christyprice, thanks a lot for sharing. I am facing a problem when using the code and was hoping you might have a quick workaround? The banners display as wanted on web and mobile, but on mobile my banners jump/zoom-in a little bit at a certain point when scrolling down. (caused by the added CSS) 

    Thanks a lot in advance.  

    Code used: 

    @media only screen and (max-width: 780px) { #home-banner { display: none; } } 
    @media only screen and (min-width: 781px) { #home-banner-mobile { display: none; } }

    Url: www.cotorra-store.com/hompagetest

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