+ Start a Discussion
Mandy08Mandy08 

CMSForce page color

Can I change the background color on a CMSForce template? Not just the table color - the whole background?

Thanks

 

A

Best Answer chosen by Admin (Salesforce Developers) 
David VPDavid VP

Include this just below the <apex:page ...> tag :

 

<style type="text/css">
body {
background-color:#000000;
}
</style>

 

 

 

 

All Answers

David VPDavid VP

Hi Mandy,

 

Sure you can : In the visualforce of your page template, just set the body background to any color you'd like. If done in CSS this would be something like :

 

body{
background-color:#000000;
}
Mandy08Mandy08

I'm not using CSS and your code does not quite look like standard html, I see no starting html tags

so I am a little confused.

David VPDavid VP

Include this just below the <apex:page ...> tag :

 

<style type="text/css">
body {
background-color:#000000;
}
</style>

 

 

 

 

This was selected as the best answer