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

how to change pageblock section style using css

Niket SFNiket SF

 <style type="text/css">
        /* Color for the title bar */
        .bPageBlock .pbHeader
        .bPageBlock .pbBody
            /* Color for the pageblock background */
            /* Custom background image at the bottom of the pageblock
               which you may need to edit.      



Try to use this one and update CSS as per your requirement.


Thank you


Swarup SahaSwarup Saha
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?

Change border-color of PageBlock