By joelbox-mondial-it on
Hi, I have created a black and gold theme. There aren't much black themes in drupal, so it took quite some work to redo the garland in black.
I now have a bit of a difficult to find remainder-issue. When a new page loads, or press F5, the screen has a short white interval. I suppose there is still some code somewhere, that empties a page before writing the new info onto it. (It is propably not in the styles.css)
It is quite annoying to see these white flashes. Using firebug I can not find where this background-white is set or how to change it.
Any ideas would be very welcome. You can check it our on mondialagency.com if you like.
kind regards,
Joel
Comments
If I read this correctly,
If I read this correctly, this is not a problem you can do anything about. The white screen is given by the browser. If you change your browser preferences to show a black background with white text, then your browser will show a black screen on those reloads. This is all dependent on how each user's browser is set.
-Craig Jackson
-Web Developer
Thanks Craig, That would be
Thanks Craig,
That would be a bummer, for the black themes. Can I perhaps do something to avoid complete pagereloads, so that the pages are sort of overwriting the current screen? Perhaps run in a frame?
thanks for your help
Joel
black
my site has a black background and I don't think I have the white page on f5 that you do.
And I'd avoid frames. They're so 1994.
~silverwing
_____________________________________________
MisguidedThoughts | showcaseCMS
Hi Silverwing, Thanks for
Hi Silverwing,
Thanks for the reply. I checked out your site, what a beauty! and we share the same interests I see.
Your site works great, many compliments on the design. In fact one of the nicest drupals I have seen sofar. The round edges look very nice.
I see no white flashes in between whatsoever and the smooth overlapping of new pages is super. So now I just have to figure out what is different between your settings and mine. Can you help me with that?
I based it on Garland and adjusted the styles,css to make it black and gold. So a start would be to compare the stylesheets, or do see another possible approach. I can send you mine, if that would help. I would also be happy to look at yours and see if I can find the differences.
Joel
The frame I am trying to loose, but that has to do with the how the url is being redirected.
ah, garland...
Garland isn't really that user-friendly of a theme. If you've adjusted the style.css, you may want to disable the color.module that controls the style.
I don't use Garland (obviously). My theme actually started life as Danger4k.
_____________________________________________
MisguidedThoughts | showcaseCMS
I'm sure there's something
I'm sure there's something else going on, it really doesn't seem style related.
More like something forcing a complete refresh to your site/page each time.
Have you had a look at the caching features in administration ?
I never get a white screen like this, even on a hard refresh (or perhaps it happens but is so fast it doesn't show).
<style type="text/css"
<style type="text/css" media="all">@import "/path to file.css";</style>is known to solve the problem
Hi Shishira,
Hi Shishira, thanks for the reply,
That sounds promising. I checked my page.tpl.php, that actually has this line in the top. Can I ask what made you think of this, perhaps there is some clue in there.
Joel
the white screen flash
the white screen flash usually happens cus of the css being loaded the last
adding
adding
style="background:#000000;"to the body tag in page.tpl.php should workthanks, Shishira
thanks, Shisira