|
#1
|
|||
|
|||
|
modification on simple vision template
Hi, on my blog I'm using the simple vision template with pixel post 1.6.
I would like to add – like in the simple template – the possibility to change the background color of the page (white. gray, black) Can you suggest me a way to do it. I have only to work on the css? thank |
|
#2
|
||||
|
||||
|
Copy the /scripts/styleswitcher.js from the simple template into your template/scripts/ directory. Then reference the script in your template
HTML Code:
<script type="text/javascript" src="templates/simple/scripts/styleswitcher.js"></script> HTML Code:
<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" /> <link rel="alternate stylesheet" type="text/css" href="templates/simple/styles/blue.css" title="blue" /> HTML Code:
<a href="#" onclick="setActiveStyleSheet('light'); return false;">Light</a> <a href="#" onclick="setActiveStyleSheet('dark'); return false;">Dark</a> <a href="#" onclick="setActiveStyleSheet('blue'); return false;">Blue</a>
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego |
| Post Reply |
| Thread Tools | |
|
|