PDA

View Full Version : "simple" template help??


postedpixels
03-12-2006, 06:39 AM
Hello everyone,

Is there anyway to force this template to always use the dark color scheme for anyone views my site?

Thanks
Aaron

http://postedpixels.com

GeoS
03-12-2006, 08:40 AM
Change content of related CSS file to this from dark and it should work just like you want.

postedpixels
03-12-2006, 02:45 PM
Change content of related CSS file to this from dark and it should work just like you want.

I'm pretty new to the world of css. How would ? i do that?

Connie
03-12-2006, 04:37 PM
you could search the forum here because this question came up very often :mad:

have a look at your website:

there is a link at the bottom:
<div id="footer">
Site Style: <a href="#" onclick="setActiveStyleSheet('light'); return false;">Light</a> /
<a href="#" onclick="setActiveStyleSheet('dark'); return false;">Dark</a>

this is part of the image_template.html of the template which you use
make a copy of this file!
open this image_template.html from your harddisk in a normal texteditor
delete the following parts from the template:

Site Style: <a href="#" onclick="setActiveStyleSheet('light'); return false;">Light</a> /
<a href="#" onclick="setActiveStyleSheet('dark'); return false;">Dark</a>

also delete this part from the top of that file:
<!-- SCRIPTS -->
<script type="text/javascript" src="templates/simple/scripts/styleswitcher.js"></script>

change this:
<link rel="stylesheet" type="text/css" href="templates/simple/styles/light.css" title="light" />
<link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/dark.css" title="dark" />

to this:
<link rel="stylesheet" type="text/css" href="templates/simple/styles/dark.css" />

or take the attached file "onlydark_image_template.txt", rename it to
"image_template.html" and upload it to your template-directory, which I presume is the "/simple"-directory

or, as I pointed out, search the forum, read the messages and find that this was answered very often here already

se.nsuo.us
03-13-2006, 04:13 AM
@postedpixels - Looking at the fact that Connie shows nearly 3000 posts and you show just 16, also glancing at your posts I find that most of them have been about taking from the forum rather than giving back - Connie's angry smiley was justified!!

Devs are here to help you but are not a paid support helpline. Yes it was a pretty dumb question that you asked and were told that - learn from it rather than sulk.

@Devs - make it a strict policy not to answer dumbos and not to feed the trolls... I know at times it gets pretty frustrating but the time wasted is not worth it either :)

postedpixels
03-13-2006, 04:38 AM
Thanks connie, it worked great!

Se.nsuo.us (guru)

Thanks for the correcting encouragement, sorry for being so selfish and taking from the pixelpost community rather than giving. I will try not to ask so many dumb questions. Please forgive me. I really do love the pixelpost software, my bad

se.nsuo.us
03-13-2006, 04:57 AM
Se.nsuo.us (guru)
Can someone please make me a forum loafer again? I love that title :)

Connie
03-13-2006, 05:39 AM
great that it works!

But for the status of "loafer" you posted too much ;=)
that is just a number, so don't mind :)

se.nsuo.us
03-13-2006, 05:56 AM
But for the status of "loafer" you posted too much ;=)

Someone granted me my wish ;)