|
#1
|
||||
|
||||
|
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. |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
||||
|
||||
|
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;}
This is a big flaw in my opinion. |
|
#4
|
||||
|
||||
|
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!
|
|
#5
|
|||
|
|||
|
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.... |
|
#6
|
||||
|
||||
|
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! |
| Post Reply |
| Thread Tools | |
|
|