White flash when switching forums and pages [SOLVED]

For support and discussion related to templates and themes in phpBB 3.3.
User avatar
Danny Wyatt
Registered User
Posts: 115
Joined: Sat Jun 04, 2022 9:09 am
Name: Danny Wyatt

White flash when switching forums and pages [SOLVED]

Post by Danny Wyatt »

📣 UPDATE: The right answer is here
----
I'm not sure if this is an issue with phpBB itself or the theme I'm using. Can someone help me understand what's happening?
I've already contacted the theme's author, but haven't heard from him yet so I decided to come here as well.
Note: this is NOT happening when using Chrome or Edge. It happens when using FireFox, Opera, Safari, and Vivaldi.

So I'm building my forum here:
https://forum.iamdannywyatt.com/ (still a demo)

When I go from forum to forum or topics, I get this "white flash", because it seems that the theme is not loaded right away.
I'm not 100% sure, but I believe that when I installed the theme, it wasn't doing this, so I'm not sure if there was something I changed that is causing this?

If you go to the theme's demo, you will see that this doesn't happen:
http://planetstyles.net/demo/milk/3.3/2/

I was wondering if anyone has ever experienced this with other themes, or if this could be something related to phpBB itself?

Any help is greatly appreciated :)
Last edited by Danny Wyatt on Fri Jun 24, 2022 9:08 pm, edited 5 times in total.
User avatar
_Vinny_
Style Customisations
Style Customisations
Posts: 10266
Joined: Tue Aug 11, 2009 12:45 am
Location: Brazil
Name: Marcus Vinicius

Re: White flash when switching forums and pages

Post by _Vinny_ »

For styles not obtained from this site you would need to seek support from where you obtained the style.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: White flash when switching forums and pages

Post by david63 »

Do you have the problem with the default prosilver style?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Talk19Zehn
Registered User
Posts: 912
Joined: Tue Aug 09, 2011 1:10 pm

Re: White flash when switching forums and pages

Post by Talk19Zehn »

Hello, test-tool here: Firefox V_101.0 - I could imagine without obligation that the mistake for background-color occurs in the short term, because in colours.css also for body

Code: Select all

html, body {
	color: rgba(0,0,0,.4);
	background-color: #ECF0F1;
}
was documented.

:?: Or the declaration in the base.css reacts for a fraction of time:

Code: Select all

body {
	color: #333333;
	background-color: #ffffff;
}
This could possibly be the cause, so that the class "fd_dark" is overwritten in the short term: overall_header.html
<html dir="ltr" class="fd_dark" lang="en-us"> for a fraction of time.

Code: Select all

html.fd_dark {
	background-color: #101216 !important;
}

Perhaps they are clues that will help. It is possible that the tool did not recognise all CSS reactions or that I have just lost my way. I'm sure Christian has a solution, ... :)


Regards
User avatar
Danny Wyatt
Registered User
Posts: 115
Joined: Sat Jun 04, 2022 9:09 am
Name: Danny Wyatt

Re: White flash when switching forums and pages

Post by Danny Wyatt »

_Vinny_ wrote: Sun Jun 05, 2022 2:51 am For styles not obtained from this site you would need to seek support from where you obtained the style.
Yes, as I mentioned, I already contacted the person, but since it's behaving differently based on the browser, I wasn't sure if this could be an issue with phpBB. The weird thing is, their demo doesn't do this, regardless of the browser...
DANNY WYATT - Musician, music producer, songwriter, DJ

🔗 Official Website: https://iamdannywyatt.com
📸 Instagram: https://instagram.com/iamdannywyatt
User avatar
Danny Wyatt
Registered User
Posts: 115
Joined: Sat Jun 04, 2022 9:09 am
Name: Danny Wyatt

Re: White flash when switching forums and pages

Post by Danny Wyatt »

david63 wrote: Sun Jun 05, 2022 5:26 am Do you have the problem with the default prosilver style?
I just installed the prosilver dark version (since the issue would be more noticeable on a dark theme, I guess), and no. It doesn't flash.
What's weird is that this is not an issue with all browsers.
There is another reply here and I will see if I can understand what's being said and if I can find the solution.
Thanks!
DANNY WYATT - Musician, music producer, songwriter, DJ

🔗 Official Website: https://iamdannywyatt.com
📸 Instagram: https://instagram.com/iamdannywyatt
User avatar
Danny Wyatt
Registered User
Posts: 115
Joined: Sat Jun 04, 2022 9:09 am
Name: Danny Wyatt

Re: White flash when switching forums and pages

Post by Danny Wyatt »

Talk19Zehn wrote: Sun Jun 05, 2022 8:35 am Perhaps they are clues that will help. It is possible that the tool did not recognise all CSS reactions
Even though I'm familiar with CSS and HTML, I'm not an "expert" per se, so I couldn't really understand what you meant...
Can you suggest a fix so I can try it and see if it works?
I don't mind changing the CSS, even if I have to make these changes again if the theme is updated in the future.
As long as the problem goes away, I can always have a note on my computer with the changes I've made and make them again.

Thank you for your time and help :)
DANNY WYATT - Musician, music producer, songwriter, DJ

🔗 Official Website: https://iamdannywyatt.com
📸 Instagram: https://instagram.com/iamdannywyatt
User avatar
Talk19Zehn
Registered User
Posts: 912
Joined: Tue Aug 09, 2011 1:10 pm

Re: White flash when switching forums and pages

Post by Talk19Zehn »

If the browser tool (* 05.06.2022, 10:35) has not been lost, the class "fd_dark" was not loaded via the class "body" (but via HTML). Or at least the class "fd_dark" for "body" was not found.

There was apparently a statement missing for the class "body" - is/was that correct?

*) The tool in Firefox did not find "body" in the CSS "fd_dark".

Prosilver Dark loads the CSS elsewhere ... (I think it's a small but subtle difference) and therefore the designs are not necessarily comparable.

BTW: The stylesheet is processed in the order in which it is loaded or linked.

Please contact Christian's support.

Best wishes ...

Edit:
Spelling correction ...
User avatar
Danny Wyatt
Registered User
Posts: 115
Joined: Sat Jun 04, 2022 9:09 am
Name: Danny Wyatt

Re: White flash when switching forums and pages

Post by Danny Wyatt »

Yeah, that's still a bit confusing based on my low knowledge of CSS...
I will wait for Christian to reply to my email and see how that goes.

Once again, I appreciate your time and help! :)
Last edited by Mick on Sun Jun 26, 2022 7:28 am, edited 1 time in total.
Reason: Removed unnecessary full quotes.
DANNY WYATT - Musician, music producer, songwriter, DJ

🔗 Official Website: https://iamdannywyatt.com
📸 Instagram: https://instagram.com/iamdannywyatt
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: White flash when switching forums and pages

Post by Lumpy Burgertushie »

find in the css files where it says body background color: ffffff and remove it.

robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
Danny Wyatt
Registered User
Posts: 115
Joined: Sat Jun 04, 2022 9:09 am
Name: Danny Wyatt

Re: White flash when switching forums and pages

Post by Danny Wyatt »

Lumpy Burgertushie wrote: Mon Jun 06, 2022 2:27 am find in the css files where it says body background color: ffffff and remove it.

robert
Thank you for your reply.
I did that, but unfortunately it didn't solve the issue.
I believe the issue here is not the color itself, but more of an issue with the code, because it seems that what's happening is that the forum is not reading the CSS for a split second, or something like that. Even if I remove that line or I change the color of the background, it will not make any difference, because it seems that the forum is having a problem reading the CSS or something like that.

I've contacted the theme's author and I'm waiting for him to get back to me.

Appreciate your time and help anyway :)
DANNY WYATT - Musician, music producer, songwriter, DJ

🔗 Official Website: https://iamdannywyatt.com
📸 Instagram: https://instagram.com/iamdannywyatt
User avatar
Hanakin
Front-End Dev Team Lead
Front-End Dev Team Lead
Posts: 1065
Joined: Wed Dec 30, 2009 8:14 am
Name: Michael Miday

Re: White flash when switching forums and pages

Post by Hanakin »

by white flash do you mean a blank screen with the loading icon?
User avatar
Danny Wyatt
Registered User
Posts: 115
Joined: Sat Jun 04, 2022 9:09 am
Name: Danny Wyatt

Re: White flash when switching forums and pages

Post by Danny Wyatt »

Hanakin wrote: Thu Jun 23, 2022 6:22 pm by white flash do you mean a blank screen with the loading icon?
No, like this: Image
DANNY WYATT - Musician, music producer, songwriter, DJ

🔗 Official Website: https://iamdannywyatt.com
📸 Instagram: https://instagram.com/iamdannywyatt
User avatar
Gumboots
Registered User
Posts: 801
Joined: Fri Oct 11, 2019 1:59 am

Re: White flash when switching forums and pages

Post by Gumboots »

It's not something to do with phpBB itself. If it does not happen with the Milk demo on Christian's site, my best guess is that it's the result of something you changed.

It's commonly known as FOUC (Flash Of Unstyled Content) and yes, it is due to processing of the CSS being delayed slightly on page load. Christian will probably be able to nail it down pretty quickly, since he knows the style's coding intimately. If you don't want to wait for him, I'd be looking at any files you have edited since you installed it.
🇺🇦 Слава Україні! 🇺🇦 Героям слава! 🇺🇦
User avatar
Danny Wyatt
Registered User
Posts: 115
Joined: Sat Jun 04, 2022 9:09 am
Name: Danny Wyatt

Re: White flash when switching forums and pages

Post by Danny Wyatt »

Christian said it was due to some kind of feature he added. I tried to contact him again, but still no response.
I think the demo and the version he sells are not exactly the same. Even the colors are slightly different. I don't think it's my files, because I just added a simple css file with custom styles to change some text colors and stuff. And even when I renamed the files to disable them temporarily, it was still there. Thing is, in Chrome, it happens sometimes, but it seems that chrome is caching the css so once I visit a page, it doesn't do it, whereas FireFox does on all pages.
Last edited by Mick on Sun Jun 26, 2022 7:29 am, edited 1 time in total.
Reason: Removed unnecessary full quotes.
DANNY WYATT - Musician, music producer, songwriter, DJ

🔗 Official Website: https://iamdannywyatt.com
📸 Instagram: https://instagram.com/iamdannywyatt

Return to “[3.3.x] Styles Support & Discussion”