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
Jose María Nicolás ArfelisJose María Nicolás Arfelis 

Why styles get distort with the use of a Site?

Hi all,

we found out some effects of using SItes and addind Visualforce pages to it.
Fonts, styles get distort, why this?.
Hugo_HernandezHugo_Hernandez
This happens because your styles conflict with the styles standard of Salesforce, but this issue is very easy of solve.


Only add in the first label of apex in your visualforce the attribute "standardStylesheets" and ensure you be equals to FALSE
 
<apex:page showHeader="true" sidebar="true" standardStylesheets="false" controller="classForAnswerCommunity">

Hello world

</apex:page>


I hope will be helpful.

regards from México :D