<style type="text/css"> /* Color for the title bar */ .bPageBlock .pbHeader { background-color:#FF0000; } .bPageBlock .pbBody { /* Color for the pageblock background */ background-color:#FFFFFF; } .bPageBlock { /* Custom background image at the bottom of the pageblock which you may need to edit. background-image:url(your_new_background_image);*/ } </style>
Try to use this one and update CSS as per your requirement.
I have another requirement. I want to change the style for a particular pageBlock. How can This be done? I have attached an image where I want No 2 to be of red color and No 1 to be as it is (green). Any clue how can I do that?
<style type="text/css">
/* Color for the title bar */
.bPageBlock .pbHeader
{
background-color:#FF0000;
}
.bPageBlock .pbBody
{
/* Color for the pageblock background */
background-color:#FFFFFF;
}
.bPageBlock
{
/* Custom background image at the bottom of the pageblock
which you may need to edit.
background-image:url(your_new_background_image);*/
}
</style>
Try to use this one and update CSS as per your requirement.
Thank you
Niket
I have attached an image where I want No 2 to be of red color and No 1 to be as it is (green).
Any clue how can I do that?