function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Roshni RahulRoshni Rahul 

How to remove Lightning Design System style from visualforce Page

Hi Team,

Please I need help. I want to remove the lightning Design System Style and I need to run my App using custom style that I have provided. I have set the standardStyleSheet as false.
<apex:page tabStyle="Score_Card__tab" controller="ScoreCardVFController" showHeader="false" sidebar="false"  standardStylesheets="false">
But still the slds style class is overriding my custom style. Is there any solution for this Issue. 

Regards
Roshni
 
NagendraNagendra (Salesforce Developers) 
Hi Roshini,

Please confirm if you are using extends="force:slds" which might be a cause for the above problem.If you are using it somewhere in the page give a try by removing it which might do the trick for you.

Thanks,
Nagendra.
Roshni RahulRoshni Rahul
Thank you for the response. Actually my issue was due to changes in winter 17 release in which some base sldc style component is set as default while using lightning components along with visualforce page. I solved the issue by using javascript by removing the slds style class.