Pixelpost Forum

Pixelpost Forum (http://www.pixelpost.org/forum/index.php)
-   Template design and Front-End Code (http://www.pixelpost.org/forum/forumdisplay.php?f=20)
-   -   Having a problem with Switchy template... (http://www.pixelpost.org/forum/showthread.php?t=8396)

sharpshoota 05-13-2008 11:21 AM

Having a problem with Switchy template...
 
I've tried figuring htis one out but I can't seeem to get it. I didn't want the option left to the user for light/dark style. I edited the code to take the option button out. It was working where it would load the dark template which is what I want. So, now it seems to be loading only the light style. Can someone take a look and let me know what I need to do. I'm actually having this issue now with both of my blogs.

www.sharpshoota.com
and
www.brianramnath.com

kevincrafts 05-13-2008 01:31 PM

Look for this:

<link rel="stylesheet" type="text/css" href="templates/switchy/styles/light.css" title="light" />
<link rel="alternate stylesheet" type="text/css" href="templates/switchy/styles/dark.css" title="dark" />

Change it to this:

<link rel="stylesheet" type="text/css" href="templates/switchy/styles/dark.css" title="dark" />


Also, remove the link to the styleswitcher:

<script type="text/javascript" src="templates/switchy/js/styleswitcher.js"></script>

sharpshoota 05-13-2008 03:00 PM

Thanks so much

mugzy555 03-10-2009 07:42 PM

What file is this code in?

snafu 03-10-2009 07:51 PM

Quote:

What file is this code in?
in the .html template files

mugzy555 03-11-2009 02:37 PM

Thanks Snafu!

I don't mean to hijack this thread but I didn't really want to start a new one for something that I'm probably just overlooking. Basically, I'm using the Switchy template and it looks good BUT when clicking to view previous or next image there's always a blink resize where the blog title and menu squish toward the center during the second or so that the image is loading, then back to normal. I checked the template creator and other Swithy user's sites and this doesn't happen to their sites. I did a fresh install of the template, same thing. The only modifications I've made are the ones above where it loads dark version by default and increasing the title size from 130% to 200%. I save all my images with a horizontal width of 720px. I hope this makes sense. If not here's the link to my site to see what it's doing: http://www.everydayfits.com

snafu 03-12-2009 11:03 AM

first i canīt reproduce this behavior on my switchy installation (my pictures have different sizes). i increase the title size (h1) too, but nothing happens.
but my pixelpostinstallation does not run in a frameset and that is the problem.
if i use a frameset like you, than i have the same "blink resize .."
donīt use a frameset is the solution

robkpdx 03-13-2009 09:55 PM

mugzy,

I have the same issue with my blog but not as bad. Probably because I have a gfx title and several menu items that keep it from collapsing on load. I thought about placing a small .gif spacer in between so there is no 'blank' space in the title area. It's a work around. I just haven't gotten to it yet. You can see at http://blog.robkennedy.net

dtschorn 03-16-2009 12:15 PM

I also didn't want to start a new thread for my switchy question, but I've managed to get it to look like I want it to, except for the header. I'm wondering what I need to change in order for the header to be a logo rather than text.

thanks!

kevincrafts 03-17-2009 12:09 AM

Do you know how to do background images in CSS? You can make your logo the background image of the h1 tag and use the text-indent property to move the text out of view.


All times are GMT. The time now is 04:02 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.