Pixelpost

Authentic Photoblog Flavour


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

Post Reply
 
Thread Tools
  #1  
Old 01-20-2005, 05:27 PM
Birdie's Avatar
Birdie Offline
pp veteran
 
Join Date: Jan 2005
Location: Canada
Posts: 51
External Stylesheet Problem

Hello;

I am trying to do my own template but am having a problem. I really want an external stylesheet but can't make the background and other graphics called for in the stylesheet work. I've tried all manner of calling those graphics including using the full url.

Does anyone have any suggestions? I do not want to have to edit each file every time I want to change my sites colors or something. If external stylesheets won't work I don't think this program will be useful for me.

And I really love it so far, so I'm hoping someone has a great solution.

Site is at http://www.uncommondepth.com/photos/. The stylesheet is in the templates folder uncommondepth. The stylesheet is working because I'm getting my colors, etc. called in the stylesheet, just not the graphics. The graphics are in templates>uncommondepth>images. Although I've tried them in templates>uncommondepth too.
Reply With Quote
  #2  
Old 01-20-2005, 06:43 PM
bretzelman Offline
pp regular
 
Join Date: Dec 2004
Posts: 41
Hmm I've got the same problem. It's because the template is included in index.php wich is on the root folder and your .css is located on /templates/templatename/your.css

You just have to specify in your template this adress for your css
Reply With Quote
  #3  
Old 01-20-2005, 08:28 PM
Birdie's Avatar
Birdie Offline
pp veteran
 
Join Date: Jan 2005
Location: Canada
Posts: 51
The stylesheet works, except for the graphics.

Code:
body {width: 700px; background: white url(http://www.uncommondepth.com/photos/templates/uncommondepth/images/shadow.jpg) repeat-y fixed top center; margin: 0% auto;}
I've got a 700px wide body with a white background but I don't have a background image. I've tried various url's for the background and none seem to work. Not sure what else to do. If I put the stylesheet inside the template files (embedded) it works fine. But it doesn't work by having it called externally.

This is a big flaw in my opinion.
Reply With Quote
  #4  
Old 01-22-2005, 09:22 PM
Birdie's Avatar
Birdie Offline
pp veteran
 
Join Date: Jan 2005
Location: Canada
Posts: 51
Does anyone have any help or suggestions for external stylesheets and getting the graphics to work. I have honestly tried everything I can think of!
Reply With Quote
  #5  
Old 01-23-2005, 03:38 PM
Connie
Guest
 
Posts: n/a
Well, I just came back from Holiday and I am not so sure when I read your posts that this is a problem of PixelPost (and not a flaw at all)

if an external url for background etc. is not called, this is always a question of the right notation, the right path, the right interpreting browser and so on

are you really sure that the way you note the background URL is correct syntax? I have some doubts but I want to see my new made photos now and not to dive too much into CSS etc.

But I am sure it is not PixelPost....
Reply With Quote
  #6  
Old 01-23-2005, 04:50 PM
Birdie's Avatar
Birdie Offline
pp veteran
 
Join Date: Jan 2005
Location: Canada
Posts: 51
You are right. Today it works.

I must have been calling something wrong. I don't know what because I tried using the full url for both. The stylesheet was working but the images weren't. Hmm.... Don't know what I was doing wrong. Must have just been a typo that I couldn't find.

Thanks for replying anyhow. It works now and I'm happy. If I get a chance I'll do a template for the general public!
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 01:15 PM.

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