function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KeithJKeithJ 

Overriding pageblock style

Hi there. I see that there is no style attribute for the pageblock vf tag.

Is there a neat way to override this components style? change the background color etc...

Many thanks!

OnDem DevOnDem Dev

Hi,

 

Try the tabStyle attribute of the pageBlock tag.

I hope that it will help.

 

Thanks,

OnDem

BigRobBigRob

Try

 

.bPageBlock .pbBody { background-color:#EEEEEE; }