0

I've got a gap at the foot of my page - but only in Chrome. I've tried numerous things, mainly from this question & answer here.

I'm pretty sure it's an overall body issue - I put a border-bottom: 2px solid red; rule on body and it came above the white space.

foot of page - white space

Here's my style code for body and footer -

body {

    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin-bottom: 6rem;
    font-family: 'GothamLight', sans-serif !important;
    font-size: 16px !important;
    border-bottom: 2px solid red;

}

footer {

  margin-top: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto;
  width: auto;
  background-color: black;
}


footer #email  {
  text-align: center;
  color: white;
 /*  font-weight: bold; */
  padding-top: 50px;
  font-size: small;
}

  p #email {

  padding: 10px;

}

footer #socialmedia {

    text-align: center;
    position: relative;
    top: 75%;

}

Is there anything in there that might be causing it? As previously stated, there's no issue in Firefox and/or Safari - only Chrome. And it happens on all the pages of the site. How do I fix it?

Mike.Whitehead
  • 738
  • 13
  • 38

3 Answers3

1

It look like padding problem , check for padding by changing , and check by removing position relative . think it getting padding from any css file .

footer #socialmedia {

text-align: center;
position: relative;// remove it than check 
top: 75%;

}

Muhammad Ali
  • 129
  • 7
0

I did some more digging on google and found the answer from here.

So now I just include overflow: hidden; in my footer style rules and it removes the white space.

Mike.Whitehead
  • 738
  • 13
  • 38
-1

Use a cssclass in Social Media Div and than call it in css and this way set your social media icons accordingly .

Muhammad Ali
  • 129
  • 7