Site logo

Archived topic

Unwanted gap above top bar on mobile only

3 replies · Started by Katja on October 19, 2018

Viewing posts 1–4 of 4

Hello team,

Ease could you have a look at a site and see what is happening to cause an unwanted gap above the top bar on mobile only. Curiously the gap doesn't seem to appear on WooCommerce pages. Have CSS code from you guys to have the top bar sticky, but doesn't seem to affect the issue if taken out.

Would be grateful for any pointers.

Many thanks and have a great day.

Roger

Hi there,

seen this before, the Social Icon plugin you are using is adding 50px padding to the Body ( why ! lol ) so you can try this CSS to remove that:

body {
    padding-top: 0px !important;
}

Fixed! You guys are amazing, thanks very much for the great support.

Roger

You're welcome - still not sure why Social Warfare adds the body padding especially when you're not using the fixed shares. but hey it works. Glad to be of help.

This archived topic is closed to new replies.