D
D
Deniev2022-04-18 04:21:17
HTML
Deniev, 2022-04-18 04:21:17

Why does page content disappear on transition?

I have the following page structure on my site:

<body>
   <nav> Фиксированная шапка </nav>
   <nav> Фиксированное нижнее меню </nav>
   <div class=“wrapper”>
      <main></main>
   </div>
<body>


Fixed header, menu and body are dark and .wrapper is white. This is to ensure that the color outside of the body is dark on iOS browsers for example, as are the navs .

Before that, everything was fine, as I switched to VPS, the pages load much faster, I don’t know if this is related, but when clicking on links, the page jumps.

I click on the link, the dark body with a fixed header stays as is, and the .wrapper with the bottom menu is loaded in a fraction of a second after.

It turns out the page is white, I click on the link, the page becomes dark and then white, it looks miserable.

I want everything to be static, more precisely, so that the lower and upper parts remain static, and the page content changes accordingly. This was the case before VPS.

What is it connected with, where to go, and where to look for answers?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question