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

background color

Thread began 1/16/2010 1:11 pm by gruant2000381341 | Last modified 2/04/2010 5:44 am by gruant2000381341 | 2875 views | 10 replies


You could do it by placing a body background colour style inside the head of the page and entering the CMS generated code inside it (removing the space before and after the code). Assuming the page is 'index.php', and you have called the edit region 'Page Colour', it would look like this:

<style type="text/css">
body {
echo WA_getCMSContent($database_localhost, $localhost, 'index.php' , 'Page Colour');

As PowerCMS by default seems to insert <p> </p> round anything you type in, you would have enter the code in 'Source' view (HTML Editor 'Source' button) and type the colour in there - otherwise the <p> tags will stop it working.

You would enter either 'white' 'black' 'gray' 'red' 'blue' etc, or a hexidecimal number (including hash) i.e. #FFFFFF #000000 #999999 etc. You would have to trust that your clients aren't going to type in, "Reddish-brown, with a hint of peach".

I'm not sure I am man enough to let a client loose with page background colours on my designs though!

Perhaps I'm over-complicating it though. There must be away to add it to the HTML editor stylesheet (except you can't select the 'body' tag).

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...