Using custom CSS styles in CMS editable Region

   —   
This article shows how to use CSS styles in the editable regions of your web site
If you click Source in your FCKEditor while editing CMSEditableRegion in CMSDesk, you can insert html tags and also CSS styles directly in the code, like <h1 style=”color:blue; font-size:150%”>Something</h1>. But you cannot use <style type="text/css" /> definition or link to external css file here.

Second option is to go to Site Manager -> Development -> Page templates. Select appropriate page template and go to Header tab. Here you can insert <style type="text/css" /> definition filled with your custom style sheet or you can link here any external .css file (<link rel="stylesheet" type="text/css" href="<path to your .css file>">).

Applies to: Kentico CMS 2.x, 3.x
Share this article on   LinkedIn

Juraj Ondrus

Hi, I am the Technical support leader at Kentico. I'm here to help you use Kentico and get as much as possible out of it.