I have used tab_style in one of my visualforce pages and it is working fine in Salesforce Classic mode, but not working in Lightning mode. What can be the reason.

Here is the code which I have written :

    <apex:page controller="MyController" tabStyle="MyTab__tab" sidebar="false" showHeader="true">

That was a Known Issue, But now it's fixed in Winter'18 release. .

tabStyle can be used with both page and pageBlock,

Note:API Version should be >=41.0

  • Yeah, it was a known issue but has been fixed. But I couldn't get it right. Is there something I am missing in my code?
    – rrc1709
    Nov 13 '18 at 9:35
  • you also need to update the API version ( to latest one) of your code
    – Umer
    Nov 13 '18 at 10:46
  • is your problem resolved
    – Umer
    Nov 15 '18 at 7:11
  • no, still facing the issue
    – rrc1709
    Nov 15 '18 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.