Cascading CSS and conditional CSS

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Cascading CSS and conditional CSS

Post by garvinhicking »

Hi!

It should be perfectly fine ti do @import within your style.css file! Remember though, that the import directory scope is within "/", so if you put your "import.css" file in your template directory, you'll need to @import url(templates/yourtheme/import.css).

This actually applies to your second problem. Use the right path. :-)

Regard,s
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

No, the serendipity.css.php is not responsible. You should have a look at your generated CSS code by calling the CSS via browser and then see which URL is there.

Or you give us the URL where you tried to insert this, so we can see it.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply