-3

I am facing a problem after deactivating the pre-loader. When someone tries to open the website all the menu (Navigation bar) becomes collapse unstylish for a few seconds. After a while when the page has fully loaded the menu gets its style.

I think the CSS file is loading after the website is gets fully loaded, maybe this is the reason. How Can I solve this issue?

  • 1
    Please share debugging details. Where can we see the issue ? – Hariom Balhara Sep 14 '21 at 05:38
  • 1
    show some screens or code to help us resolve this in some way – Dev Sep 14 '21 at 05:39
  • @HariomBalhara https://gamanicoreafoundation.com/ please check this site. all the menu (Navigation bar) becomes collapse unstylish for a few seconds. After a while when the page has fully loaded the menu gets its style. – Sandun Gunawardana Sep 14 '21 at 05:45
  • @Dev Please check the link – Sandun Gunawardana Sep 14 '21 at 05:56
  • Welcome to StackOverflow! Please do not only link us to your webpage. You should also post a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) here in the question, because it will be hard for us dig through the website to find the problem. Goodluck :D – I_love_vegetables Sep 20 '21 at 05:56

1 Answers1

0

put the css inside head tag before any scripts etc, add preload to your css and critical js files

Hossein
  • 525
  • 3
  • 13