Jump to content

Black space appearing below parallax images in mobile view, Brine 7.0 template

Recommended Posts

Site URL: https://typeaprofessionals.com

Hi there, I'm using the Brine 7.0 template with the parallax scrolling effect for three images on my home page. 

The images look fine on desktop and tablet view, but when I look at my site on my phone, I notice there is a black space below the images before they start scrolling (shown below).

I'm using this CSS to make the header fixed--could this be cause of the black space problem beneath the images? Any idea how to fix? Thank you!

//fixed header navigation//

.Header.Header--top {
  position: fixed;
  top: 0px;
  z-index:1000;
  width:100%;
}
.Intro {padding-top:100px;}
.Index {padding-top:100px;}
.Main {padding-top:100px;}
.Main.Main--page {padding-top:100px !important;}
.Main.Main--blog-item {padding-top:0px !important;}

@media only screen and (max-width: 480px) {
  .Main {padding-top:0px !important;}
  .Intro {padding-top:0px !important;}
  .Index {padding-top:0px !important;}
  .Main.Main--page {padding-top:0px !important;}
}

IMG_4590.PNG

IMG_4591.PNG

Link to comment
  • 2 weeks later...
  • 11 months later...

Hi,
I'm having the same issue with the black bars under every image. I'm viewing on iPhone safari or chrome and it always displays those black bars beneath images. If viewing from computer site editor in mobile view, then it doesn't display those bars - only from mobile device. I'm using 7.0 Brine Ethan template.
Any help?  Site URL:  https://www.avanor-acoustics.com/en/loudspeakers

The only used CSS is this:

/* transparent header box */
header.Header.Header--top {
    position: absolute;
    z-index: 999;
    top: 0;
    width: 100%;
    background: transparent;
}

/* disable hypens */
p, h1, h2, h3 {hyphens: manual !important; -webkit-hyphens: manual !important; -moz-hyphens: manual !important; -ms-hyphens: manual !important; }

image1.jpeg

image0.png

Link to comment
On 4/13/2022 at 8:05 PM, Alvis said:

Hi,
I'm having the same issue with the black bars under every image. I'm viewing on iPhone safari or chrome and it always displays those black bars beneath images. If viewing from computer site editor in mobile view, then it doesn't display those bars - only from mobile device. I'm using 7.0 Brine Ethan template.
Any help?  Site URL:  https://www.avanor-acoustics.com/en/loudspeakers

The only used CSS is this:

/* transparent header box */
header.Header.Header--top {
    position: absolute;
    z-index: 999;
    top: 0;
    width: 100%;
    background: transparent;
}

/* disable hypens */
p, h1, h2, h3 {hyphens: manual !important; -webkit-hyphens: manual !important; -moz-hyphens: manual !important; -ms-hyphens: manual !important; }

image1.jpeg

image0.png

Hi,

It looks fine to me. Did you solve or still need help?

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
20 hours ago, tuanphan said:

Hi,

It looks fine to me. Did you solve or still need help?

Hi,
No I have not found the solution to those black bars yet. I have even tried setting all the background objects and box colors to red, to see witch might be causing the problem, but none did. As I said before it only appears on mobile devices - not on desktop when you preview from mobile view. I saw those black bars on several different mobile devices, so it's not something specific with a screen size.

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.