Board index Themes Use images in CSS file

Skinning and designing Serendipity (CSS, HTML, Smarty)
vengo
 
Posts: 1
Joined: Fri Oct 01, 2004 2:55 pm

Postby vengo » Fri Oct 01, 2004 3:03 pm

Hi there,
Is it possible to use (background)images in the CSS file, like:
background-image: url('image.jpg') ??

I cannot get it right because the path is not valid. Or is the only solution to make it hard-coded ?

Thx

tomsommer
Core Developer
 
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark

Postby tomsommer » Sun Oct 03, 2004 1:11 am

Check the default style.css file for a clue on how to do this with the {TEMPLATE_PATH} variable.
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk



Return to Themes

Who is online

Users browsing this forum: No registered users and 2 guests

cron