ASPX templates
Version 6.x > ASPX templates > <head> sections View modes: 
User avatar
Member
Member
gary.marsh-apptix - 11/11/2011 8:04:57 AM
   
<head> sections
Is there a way to modify the <head> sections independently on each page in the CMS? for instance, adding custom CSS or Javascript to one page only?

Thanks!
Gary

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/11/2011 8:11:17 AM
   
RE:<head> sections
Hello,

Each page template has a HEADER section where you can place your style sheet definition, but this style sheet will be applied for all of the pages which uses this page template. You can also apply style sheet per document (CMS Desk -> Content -> choose your page -> Properties -> General section -> CSS stylesheet). The third option is to use the “Head HTML” web part on a page template where you can specify which code should be inserted into HEAD section of your rendered page.

Best regards,
Boris Pocatko

User avatar
Member
Member
gary.marsh-apptix - 11/11/2011 8:52:08 AM
   
RE:<head> sections
Thank you Boris for your response.

Where can I find the Head HTML web part?

Thanks!
Gary

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 11/11/2011 5:44:46 PM
   
RE:<head> sections
Hello,

It should be located in the general section.

Best regards,
Boris Pocatko