View Single Post
  #26  
Old 04-15-2007, 10:12 AM
theturninggate's Avatar
theturninggate Offline
pp regular
 
Join Date: Apr 2006
Posts: 28
SierraVisions: In the head of each file, locate this:

HTML Code:
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/warmhorizon/styles/warmhorizon.css" title="warm" />
<link rel="alternate stylesheet" type="text/css" href="templates/warmhorizon/styles/darkhorizon.css" title="dark" />
<link rel="alternate stylesheet" type="text/css" href="templates/warmhorizon/styles/bluesky.css" title="sky" />
You just need to swap the "stylesheet" and "alternate stylesheet" designations in the rel tag. Replace it with this:

HTML Code:
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/warmhorizon/styles/darkhorizon.css" title="dark" />
<link rel="alternate stylesheet" type="text/css" href="templates/warmhorizon/styles/warmhorizon.css" title="warm" />
<link rel="alternate stylesheet" type="text/css" href="templates/warmhorizon/styles/bluesky.css" title="sky" />
That should do it. You might need to delete your cookies, then quit and load your browser, but maybe not. If an old cookie already exists for your site, the styleswitcher might have a conflict; easily resolved, however.

Or, if you don't want to offer visitors the choice of styles, just delete the "alternate stylesheet" lines, then delete the ul list from the page footer where the styleswitcher items are located. You'll also want to delete the "title" attribute from the stylesheet link, like this:

HTML Code:
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/warmhorizon/styles/darkhorizon.css" />
Also, delete the javascript line that calls the styleswitcher into the page. It's just one line, located beneath the CSS links. You'll see the path to styleswitcher.js in the code. Be careful not to delete the scripts that control the comments and image info. revealing, though.

Hope that helps!

Please pass a link over. I'd love to see the site.

Cheers,
theturninggate
Reply With Quote