Padding gets crazy when loading. I have to refresh the page to have all elements back in place.

I just created this website: https://deremedia.com

I have selected transparent header and given a padding-top to the first section in every page so the elements don't  intercept with the header. The problem is that when I load the page, some elements (not exclusively the ones close to the header) get messed up, as if the padding wasn't taken in consideration https://prnt.sc/kamhs4

When I refresh the page, the elements go back in place https://prnt.sc/kamhyf

Here is the page in this example: https://deremedia.com/nosotros/

That also happens in middle sections: https://prnt.sc/kamic6

This is how it looks when refreshed: https://prnt.sc/kamiko

Notice the padding? You can see the live page here: https://deremedia.com/expertise/

The funny thing is that it does not happen with the first section of the homepage or blog and the only difference is the background image.

I've tried to use margin instead of padding but some browsers (safari) don't read the margin and it stays messed up. I also tried emptying cache and even other laptops but still the same.

Any suggestions in how to fix this?

Comments

Sign In or Register to comment.