View Full Version : Simple template dark startup?
Stavro
08-10-2006, 09:11 AM
Hello,
I'm using the pixelpost simple template.
I wonder, what changes do I have to make so that my blog starts up in "dark" layout mode and still have "white" layout as an option?
Thank you in advance
Stavro
Vernon.Trent
08-10-2006, 10:35 AM
hi
look in the header section of your image_template.html
declare your white style as alternate style. then it will load the dark style as default.
Stavro
08-10-2006, 11:39 AM
Hi and thank you for your quick respond!!
The problem is that I have no idea about html...
Is there a possibilty that you could describe to me closer the steps I have to take?
Thank you again in advance, I hope I don't ask too much.
Stavro
Vernon.Trent
08-10-2006, 11:56 AM
check the image_template.html for the lines shown below
<link rel="stylesheet" type="text/css" media="screen" href="templates/simple/styles/dark.css" title="dark" />
<link rel="alternate stylesheet" type="text/css" media="screen" href="templates/simple/styles/light.css" title="light" />
the code makes the darkstyle as default.
perhaps you have to adjust the path or filename to your needs :)
Stavro
08-10-2006, 07:36 PM
I changed it but it doesn't seem to work!
Connie
08-10-2006, 08:55 PM
clean the cache of your browser !!! (This is my today's mantra... )
You can look for style switcher addon or search with google for such topic.
Stavro
08-11-2006, 06:32 AM
Well, I cleaned my cache, pixelpost style switcher is still there, but...
I guess I just have to inform my guest through the about section to view the blog by choosing the dark style. Only problem is that my IE changes back to light style by the next picture (my firefox stays!!!!).
I don't know....:confused:
Anyway thank you all for your replies...:)
Vernon.Trent
08-11-2006, 06:34 AM
do you have a link to your template?
Stavro
08-11-2006, 06:39 AM
My blogs address is:
www.stavrospapadopoulos.online.de/photography
if that helps...
Vernon.Trent
08-11-2006, 07:07 AM
thanks.
the first review. ;)
first visit:
- started with dark style. ok
- switch to white. ok
- switch back to dark. ok
- switch to white. close browser
second visit:
- started with white. ok. it was my last setting, see above.
the about page is full of microsoft word html "crap-tags". thats the reason the page loads with different design, missing css settings, etc. etc.
all links back to home or browse, causes 404.
take back the original about page and use a pure editor (notepad, ps-pad, whatever. :))
image_template (main template) looks good :)
firefox, opera and IE used as browsers for testing.
Stavro
08-11-2006, 07:11 AM
Wow!
So you think that it works after all?
I'll do as you say with the about page!!
Thank you!
Best regards
Stavro:)
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.