ColorlibHQ / gentelella

Free Bootstrap 4 Admin Dashboard Template
https://colorlib.com/polygon/gentelella/index.html
MIT License
21.05k stars 6.86k forks source link

Flash of blue body. #484

Closed SamMousa closed 7 years ago

SamMousa commented 7 years ago

Because the body has a blue background that is overlayed by a gray / white content when refreshing the page it shows a flash of blue, similar to a "flash of unstyled content".

AndreiCN commented 7 years ago

Hello,

To be honest I'm not quite sure what you mean, can you please provide a screenshot ?

AndreiCN commented 7 years ago

We're gonna close this ticket for now, but you can reopen it anytime :)

SamMousa commented 7 years ago

Oh, I missed your request for more info.

Are you familiar with the flash of unstyled content? https://en.wikipedia.org/wiki/Flash_of_unstyled_content

Your template suffers from it due to the fact that the body has a different background color than the content div.

AndreiCN commented 7 years ago

Ah, I got it now. Ok I will investigate this and come with a solution, thank you for pointing this out !

SamMousa commented 7 years ago

So did you fix this? I see you closed it but no commit mentions it?

nkavian commented 7 years ago

I've also seen this. Usually when the page has short content, the init_sidebar waits for the css/js files to load, and then init_sidebar adjusts the vertical position of the footer.

Sometimes when the page has long content, the footer can be seen about 10 pixels or more lower than the content body, and then the dark background is again visible.

Ideally, if the footer could be positioned using plain HTML instead of JS would solve this issue as well as my issue #499. Then with only additional CSS issue #498 can be solved..

AndreiCN commented 7 years ago

Well @SamMousa your issue was been solved yes, everything in this milestone that's closed means that was fixed if is not you'll get an explanation instead for sure.

@nkavian both of your issues are in this milestone, if you noticed something else please open another issue to add it here ( this milestone ) :)

mherrarte commented 6 years ago

Hello, I'm using the django flavor and when I have short content a blue footer appears and there is other scenario that I posted here: Blue footer in Gentelella Theme Thanks for the awesome work!

Not sure if the issue has been fixed but I see the same thing on the demo @AndreiCN @nkavian ? How can I fix it?