Forums / Setup & design / images , css , style / theme package

images , css , style / theme package

Author Message

Andre Felipe Machado

Tuesday 03 October 2006 10:26:09 am

Hello,
I am trying to customize a style / theme package for my blog site.
But when I try to use images (bullets, arrows, buttons) in the css, they are not shown.
I downloaded some of community contributed styles and examined them to see the relative url of images.
Also, read the excellent beginner tutorial at
http://ez.no/community/articles/build_table_less_css_layouts_with_ez_publish
and successfully modified a style / theme package and imported it.
But if I try to show "arrow.gif" in front of the links, they are not shown.
The search button and login button are now shown, as you can see at http://www.techforce.com.br .

What went wrong? File permissions? Paths?
Regards.
Andre Felipe Machado

PS: Using Firefox free extension webdeveloper, is easy to see the css files.

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br

Claudia Kosny

Tuesday 03 October 2006 11:04:47 am

Hello Andre

Try using (../images/arrow.gif) as path.
The stylesheets are usually in the folder /design/news/stylesheets and the pictures in the folder /design/news/images. Thus the path for the pics must go to the parent of the stylesheets folders and then into the images folder.

I am not sure whether the structure is the same for the supplied styles, I have never looked at them.

Greetings from Luxembourg

Claudia

Andre Felipe Machado

Tuesday 03 October 2006 5:41:51 pm

Hello,
Many thanks for your message.
I already tried your relative url suggestion.
When a style is packaged, its files are stored in another directory tree, very different from the supplied stiles.
The css files are in
/var/news/storage/packages/navy_blue_light_grey/files/default/file directory and
images are in
/var/news/storage/packages/navy_blue_light_grey/files/default/file/images
directory.
The example style packages use the ../images/picture.gif url style.
Maybe, there is some override at another place.
Any ideas?
Regards.
Andre Felipe

---
A Debian user never dies. Issues a last command:
shutdown -h now

http://www.techforce.com.br