The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

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 1 guest