Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 05-13-2008, 11:21 AM
sharpshoota Offline
forum loafer
 
Join Date: Apr 2007
Posts: 13
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
Reply With Quote
  #2  
Old 05-13-2008, 01:31 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
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>
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #3  
Old 05-13-2008, 03:00 PM
sharpshoota Offline
forum loafer
 
Join Date: Apr 2007
Posts: 13
Thanks so much
Reply With Quote
  #4  
Old 03-10-2009, 07:42 PM
mugzy555 Offline
forum loafer
 
Join Date: Mar 2009
Posts: 2
What file is this code in?
Reply With Quote
  #5  
Old 03-10-2009, 07:51 PM
snafu Offline
pp veteran
 
Join Date: Sep 2008
Location: germany
Posts: 84
Quote:
What file is this code in?
in the .html template files
__________________
Reply With Quote
  #6  
Old 03-11-2009, 02:37 PM
mugzy555 Offline
forum loafer
 
Join Date: Mar 2009
Posts: 2
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
Reply With Quote
  #7  
Old 03-12-2009, 11:03 AM
snafu Offline
pp veteran
 
Join Date: Sep 2008
Location: germany
Posts: 84
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
__________________
Reply With Quote
  #8  
Old 03-13-2009, 09:55 PM
robkpdx Offline
forum loafer
 
Join Date: Dec 2008
Location: Vancouver, WA
Posts: 5
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
__________________
blog.robkennedy.net
Reply With Quote
  #9  
Old 03-16-2009, 12:15 PM
dtschorn Offline
forum loafer
 
Join Date: Mar 2009
Posts: 6
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!
Reply With Quote
  #10  
Old 03-17-2009, 12:09 AM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
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.
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:23 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs