You need to sign in to do that
Don't have an account?
Cindy Norman
Setting font color on pageBlock?
I have something like this for a nice Title to my pageblock:
<apex:pageBlock id="appPageBlock" title="Application for : {!application.FirstName__c} {!application.MiddleName__c} {!application.LastName__c}">
with some buttons like this one:
<apex:pageBlockButtons>
<apex:commandButton value="Save and Continue" style="...">
</apex:pageBlockButtons>
The only way i can change the font color on the Title is to use a facet for "header". However, when i do this, i lose my buttons....they just disappear.
Anyone have a trick as to how to change the font color without losing my buttons?
(I ONLY want to change the font color for my Title...nothing else on the page)
Thank you!
<apex:pageBlock id="appPageBlock" title="Application for : {!application.FirstName__c} {!application.MiddleName__c} {!application.LastName__c}">
with some buttons like this one:
<apex:pageBlockButtons>
<apex:commandButton value="Save and Continue" style="...">
</apex:pageBlockButtons>
The only way i can change the font color on the Title is to use a facet for "header". However, when i do this, i lose my buttons....they just disappear.
Anyone have a trick as to how to change the font color without losing my buttons?
(I ONLY want to change the font color for my Title...nothing else on the page)
Thank you!
Instead of using pageBlock's title, create a facet under pageBlock and name it "header". It'll be auto-assigned as the pageBlock's title when rendered.
Now use css to style it as needed. The title's rendered class name is "pbHeader". So use it like this
This should help get you going
All Answers
Now i'm trying to change the width of just my title. Any ideas?
I think this can help you out.
https://developer.salesforce.com/forums?id=906F000000098qMIAQ
Thanks
Sandeep Singhal
http://www.codespokes.com/
Just to be clear, i can use some chunk of this to change the pageBlock but not the other subsections within pageBlock?
Can i mimic this to change the width of only the pageBlock title?
Instead of using pageBlock's title, create a facet under pageBlock and name it "header". It'll be auto-assigned as the pageBlock's title when rendered.
Now use css to style it as needed. The title's rendered class name is "pbHeader". So use it like this
This should help get you going
Kind of weird?
Thank you guys!!!