1 2012-07-02 15:57:04 (edited by stradfred 2012-07-02 15:59:17)

Topic: [BUG] Minify css

Hi Awilum,

I found a bug with background css minify (work if add manually css in theme header)
The tag don't work after minify:

background: url(../img/title.png) no-repeat 0 0;
<link href="public/themes/Focus/css/focus.css" rel="stylesheet">

Image appear

<?php Stylesheet::add('public/themes/Focus/css/focus.css'); ?>

  Image Don't appear

Sorry for my little english sad

Re: [BUG] Minify css

stradfred

css

background: url(@theme_url/img/title.png) no-repeat 0 0;

template

<?php Stylesheet::add('public/themes/Focus/css/focus.css'); ?>
<?php Stylesheet::load(); ?>

3 (edited by stradfred 2012-07-03 06:44:00)

Re: [BUG] Minify css

Thx a lot, @theme_url/ is the variable ok.

It's possible to add javascript in footer ?

Sorry for my little english sad

Re: [BUG] Minify css

>It's possible to add javascript in footer ?

Move <?php Javascript::load(); ?> from header chunk to footer chunk