You need to sign in to do that
Don't have an account?
Manjusrinu
custom tabs
Hi,
I have created a custom tab that needs to be posted on vf page,I am getting the output but not in the correct way
The below is my code
Can anyone help me to solve the issue ?
<apex:tabPanel switchType="client" >
<apex:tab label="Home">Home content</apex:tab>
<apex:tab label="Contacts">Contacts content</apex:tab>
<apex:tab label="Achievements">Achievements content</apex:tab>
</apex:tabPanel>
I am not getting the default stylings of the custom tabs
Greetings!
You can use the style class to style the tabs as suggested here.
https://developer.salesforce.com/forums/?id=906F0000000DD5EIAW
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
Can you try the approach mentioned in https://salesforce.stackexchange.com/questions/5764/how-to-change-tab-style-for-vf-page-from-black-to-default-color-home-tab-color i.e, adding the following line: <body class="homeTab"> to the VisualForce page. In order for the default styling of the page to inherit the Home Tab styles, the page must have the showHeader="true" attribute
If this information helps, please mark the answer as best.Thank you