|
#1
|
|||
|
|||
|
simple template question
is there a way to have the "dark" site style be the default for the "simple" template. so, when you visit the photoblog the default is dark rather than light for the site style? i assume there would be a tweak to do this. maybe to the index page...
|
|
#2
|
||||
|
||||
|
Yes. In the index page (and all of your foo_template.html files for that matter) change the lines which indicate the style sheet. One of them will indicate the default style sheet and one the alternate...just switch them up and you should be good to go.
__________________
The Last Rewind |
|
#3
|
|||
|
|||
|
Actually, I just switched places for lines 14 and 15 (see below) in the image_template file and it worked. Now, dark is listed first and light is listed second in the code for the image_template file. Does this seem good to people? It works...
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" /> <link rel="stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" /> |
|
#4
|
||||
|
||||
|
That's correct. The reason I said to switch it in all of the x_template.html files is because those same lines of code exist on all of your pages (about, browse, comment, etc.). Without a link to your site, it's hard to say if all of your pages are now using the dark css as the default...
__________________
The Last Rewind |
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
||||
|
||||
|
My way is the same as your way...in your code where you have the line for alternate style sheet: set that to light. for the other style sheet line set that to dark (this is the default style sheet to be used).
__________________
The Last Rewind |
|
#7
|
|||
|
|||
|
not having any luck...not sure what needs to be changed specifically. my original switch did not do anything actually. i have perused the code but not having much luck. i am pretty useless with deciphering code...i am sure someone must have had this need to set dark as the default...i think...
|
|
#8
|
||||
|
||||
|
Again, without a link to your site, I can't get too specific, but...if you take this code:
Code:
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" /> <link rel="stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" /> Code:
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" /> <link rel="stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" />
__________________
The Last Rewind |
|
#9
|
|||
|
|||
|
Quote:
I will try. Thanks. My site is at: www.talz.ca |
|
#10
|
|||
|
|||
|
I made the change to:
about_template browse_template image_template comment_template But still no luck. Do I need to change something in the index file? Hmm... |
| Post Reply |
| Thread Tools | |
|
|