You only need one instance of the {literal} tags...
#main-photo {literal} {
background:transparent url(/uploads/images/p-{$cgsimple->get_root_alias($page_alias)}.jpg) no-repeat;
}
{/literal}
New Site http://www.mosaic-construction.co.uk
Re: New Site http://www.mosaic-construction.co.uk
Dr CSS
Re you only need one literal. That is not correct as otherwise the Smarty tag {$cgsimple->get_root_alias($page_alias)} contained in the literal won't work.
Re you only need one literal. That is not correct as otherwise the Smarty tag {$cgsimple->get_root_alias($page_alias)} contained in the literal won't work.