Search code examples
csspositionfixed

Fixed Position content loads on left then jumps to correct position on right


http://dovetailsoftware.redbranchmedia.com/hr/

For my site, I have social icons vertically with fixed positioning on the side of the page. On each page load, the icons load first on the left then jump to the right. Does anyone know why this is happening or how to prevent it? Thanks


Solution

  • This may not help many as it seems very specific. Basicaly, the inline style "right:0;" was being added to my html via a script. The content loaded by default on the left then, when the script ran, the inline style was added and the content jumped to the right. To fix this, I simply added the CSS to my stylesheet. Now, it loads initially on the right as well.