• Resolved eddoh

    (@eddoh)


    The site is falkdata.se

    If you click “Butik”, or “Workstation”, it jumps to the right a bit for a second or two while rendering, then jumps back.

    I’ve been doing lots of things to optimize loading times and such the latest week or so, and I don’t really remember when this happened.

    It’s annoying, and I thought maybe someone here will know straight away what’s wrong.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • There is a scroll bar on the home page, and none on the other two when viewed at high resolution. View the site on a smaller screen, such as a laptop, and I’m betting all three pages will have a scroll bar and the “jump” will be gone.

    Thread Starter eddoh

    (@eddoh)

    Of course! Thank you!

    I did add some stuff and made some pages bigger, which of course gave me the scroll bar at some stage and this slightly annoying problem.

    Do you know of any simple fix for this?

    Thread Starter eddoh

    (@eddoh)

    I found one. Just insert this code in the css stylesheet:
    html {overflow-y: scroll;}

    Makes so the scroll bar is always there. Not a perfect solution, but much better than having everything jumping around.

    https://www.mediacollege.com/internet/css/scroll-always.html

    Thank you very much again!

    You’re welcome! Glad it helped.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page "jumps" a few pixels to the right while rendering some pages’ is closed to new replies.