close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Use Own Stylesheet in PowerCMS

Thread began 12/30/2009 1:10 pm by reneas.email303886 | Last modified 5/10/2011 8:30 am by reneas.email303886 | 9394 views | 27 replies


Just to add my bit

I find the easiest way to add your style sheet is to edit the custom files in the HTML Editor folder:

Open the HTML Editor folder and open the custom folder then the
contents_insert_ContentValueStyles1.xml and change it to suit i.e.

<?xml version="1.0" encoding="utf-8" ?>
<Style name="MyStyle-One" element="span" >
<Attribute name="class" value="MyStyle-One" />

<Style name="MyStyle-Two" element="span" >
<Attribute name="class" value="MyStyle-Two" />

<Style name="MyStyle-Three" element="span" >
<Attribute name="class" value="MyStyle-Three" />


etc etc untill all the styles you require are entered. Then copy this and past it into the
contents_update_ContentValueStyles1.xml file ok thats the first bit second open the content_insert_ContentValue1.js file and look down at the bottom and change this line to your css file (making sure it is relative)

FCKConfig.EditorAreaCSS = '../../css/mystylesheet.css'; // relative to fckeditor/editor/fckeditor.html

Do the same for the contents_update_ContentValue1.js file

and that's it refresh everything log out back in clear your cache etc it always works for me and even though I have HTML Editor 3 you don't need it to do this hope it helps Alistair

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...