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">

1 Answer 1


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? Commented Nov 13, 2018 at 9:35
  • you also need to update the API version ( to latest one) of your code
    – Umer
    Commented Nov 13, 2018 at 10:46
  • is your problem resolved
    – Umer
    Commented Nov 15, 2018 at 7:11
  • no, still facing the issue Commented Nov 15, 2018 at 8:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .