WebsiteBaker Support (2.8.x) > Templates, Menus & Design
New template: Multiflex-3
xyloweb:
--- Quote from: BerndJM on July 26, 2008, 06:25:38 AM ---You have to define the path from the point of view where your css-file resists.
--- End quote ---
That is generally true, but if you start the path name with "/", I believe it should look in the root of the site, since that is an absolute path. If you don't start with a "/", then it is a relative path which follows the rule you mentioned.
--- Quote from: BerndJM ---A fixed, static path, like (htttp://www.your_domain_here.com/wb/media/your_pic.png) would also work.
--- End quote ---
I also tried using the fully qualified domain name, but that didn't work either.
Hmmm.
I guess I'll try a JPG located in my template directory next, but I wish I could figure out why this doesn't work.
FYI: Here is the source of my image:
http://www.colourlovers.com/imgDetail/1156/717/CC0033/170~Karaka.png
BerndJM:
@Argos:
--- Quote ---But you really should keep all template files in the template folder.
--- End quote ---
Of course that's the best and easiest way to store the pictures, but what do you do if the custmers wish is, to easy change them ...
Regards Bernd
Argos:
--- Quote from: BerndJM on July 26, 2008, 03:45:38 PM ---@Argos:
--- Quote ---But you really should keep all template files in the template folder.
--- End quote ---
Of course that's the best and easiest way to store the pictures, but what do you do if the custmers wish is, to easy change them ...
Regards Bernd
--- End quote ---
Yes, that could be a valid reason, I didn't think about that.
Argos:
--- Quote from: xyloweb on July 26, 2008, 02:43:59 PM ---
--- Quote from: BerndJM on July 26, 2008, 06:25:38 AM ---You have to define the path from the point of view where your css-file resists.
--- End quote ---
That is generally true, but if you start the path name with "/", I believe it should look in the root of the site, since that is an absolute path. If you don't start with a "/", then it is a relative path which follows the rule you mentioned.
--- Quote from: BerndJM ---A fixed, static path, like (htttp://www.your_domain_here.com/wb/media/your_pic.png) would also work.
--- End quote ---
I also tried using the fully qualified domain name, but that didn't work either.
Hmmm.
I guess I'll try a JPG located in my template directory next, but I wish I could figure out why this doesn't work.
FYI: Here is the source of my image:
http://www.colourlovers.com/imgDetail/1156/717/CC0033/170~Karaka.png
--- End quote ---
So you just want a solid background color? Why don't you use a color code then? Can we have a look a the site itself?
xyloweb:
EDIT: The code has changed on the site - see the fix below.
Here is the site:
http://blog.lesliepsychic.com/wb/pages/home.php
Here is the CSS:
http://blog.lesliepsychic.com/wb/templates/Multiflex-3a/layout_setup.css
FYI: I put my altered template/css/code in Multiflex-3a, where the original is in Multiflex-3.
Here is the CSS line that I commented out and added my own image.
The problem is that this new image does not show up.
--- Code: ---/* .header-middle {width:900px; height:150px; background:rgb(230,230,230) url(./img/bg_head_middle.jpg); overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/;} */
.header-middle {width:900px; height:100px; background:rgb(230,230,230) url(/wb/media/hot_pink.jpg); overflow:visible !important /*Firefox*/; overflow:hidden /*IE6*/;}
--- End code ---
Here is the image file:
http://blog.lesliepsychic.com/wb/media/hot_pink.jpg
Thanks for your time in looking this over.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version