For some pages in a website I need an extra stylesheet. But that extra sheet interferes with all other pages.
The way I solved this is making two templates, one with and one without the extra stylesheet.
But I rather have it solved using just one template and e.g. an if-statement to load the extra stylesheet when needed.
Is that possible? How could I do that?
Frank
[SOLVED] Adding one stylesheet to some pages
[SOLVED] Adding one stylesheet to some pages
Last edited by frankmanl on Thu Nov 22, 2012 4:23 am, edited 1 time in total.
Re: Adding one stylesheet to some pages
You can put a smarty tag in the "Page Specific Metadata" field of a page, like {cms_stylesheet name='myspecialstylesheet'}
Re: Adding one stylesheet to some pages
Just what I looked for.
Thanks,
Frank
Thanks,
Frank