You need to sign in to do that
Don't have an account?
Inline Visualforce Style
Hi
I have an inline visualforce added to my standard contact page. All works fine but the field font doesn't match with the standard salesforce style.
Could anybody please tell me what style should be added for this to be achieved
<apex:page standardController="Contact" extensions="contactSubRecords" tabstyle="Contact" showheader="true"> <apex:pageBlock > <apex:pageblockSection title="Alumnus" columns="1" rendered="{!if(contact.Alumnus__c==True,true,false)}"> <apex:tabPanel switchType="client" value="{!selectedTab}" tabClass="activeTab" inactiveTabClass="inactiveTab" > <apex:tab label="Alumnus" > <apex:pageBlock > <apex:pageBlockSection title="Alumnus Details"> <apex:outputField value={!Contact.field1__c}" /> <apex:outputField value="{!Contact.field2__c}" /> </apex:pageBlockSection> </apex:pageBlock> </apex:tab> </apex:tabPanel> </apex:pageblockSection> </apex:pageBlock> <apex:page>
Please try this Visual force page,If it does not work please let me know.
--
Regards
Usman
All Answers
Hi madhura.b,
Use this standard Style for contact detail page
--
Regards
Usman
Hi Usman
It didn't change. :(
Can you please post your complete code of VF page?
Above posted code is the complete code
Please try this Visual force page,If it does not work please let me know.
--
Regards
Usman
Thanks Usman
!important worked. Also I had to put the whole pageblock in a div tag and give the style for it to take effect.