Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Including extra CSS/JS to header page level instead of new template
#1
Hey there,

Would it be be possible to add CSS ( <link> or <style> ) to the header on a page level, instead of having to create a new template?

JS too, but not as necessary as this can be done inline currently, however <link> or <style> wont validate if it is in the body tag.


Sure you could have it included in the template from the beginning, however, if its only required on one page, ie, a gallery page or video page, to save on loading times, you don't want to include it in the global template.

So now you need to make a clone of the template, adding in the local <link> to the style-sheet.
Reply


Messages In This Thread
Including extra CSS/JS to header page level instead of new template - by acasperw - 2012-03-02, 01:07:56



Users browsing this thread: 1 Guest(s)