You need to sign in to do that
Don't have an account?
Ranjan Satpathy
Unable to override SLDS CSS into visualforce page which is a embedded lightning record page
I have a visualforce page but when I moved to lightning experience automatic a horizontal scroll bar is adding to this page which is a embedded in lightning record page.
So here I am trying to remove this scroll bar by overriding the CSS but its not working
In the above image I want to disable the overflow so that its removing the scroll bar
after removing the overflow in browser inspect it seems to be perfect. but here I need to override this into my page.
My code
So here I am trying to remove this scroll bar by overriding the CSS but its not working
In the above image I want to disable the overflow so that its removing the scroll bar
after removing the overflow in browser inspect it seems to be perfect. but here I need to override this into my page.
My code
<apex:page standardController="Account"> <style> oneAlohaPage .conten { overflow: hidden; } </style> <div id="InnternalDiv" style="height: 2000px; width: 500px;"> <apex:Form> <apex:pageBlock> <apex:pageBlockSection columns="2"> <apex:outputLabel value="First one " /> <apex:outputLink target="_blank" value="https://www.google.com/maps/d/viewer?mid=1b6zZey5tKiiv6UP3O5xac1AN8I0">https://www.google.com/maps/d/viewer?mid=1b6zZey5tKiiv6UP3O5xac1AN8I0 </apex:outputLink> <apex:outputLabel value="First two " /> <apex:outputLink target="_blank" value="https://www.google.com/maps/d/viewer?mid=1kNPIg_2jXtCNRsN_7VcEtrhDUfI">https://www.google.com/maps/d/viewer?mid=1kNPIg_2jXtCNRsN_7VcEtrhDUfI </apex:outputLink> </apex:pageBlockSection> </apex:pageBlock> </apex:Form> </div>
Hello Ranjan,
It seems like you have mistyped the spelling of the class in your style tag. It is supposed to be .content instead of .conten
Also, you might need to mark that property important otherwise there is a possibility that it will get overwritten by the standard CSS again.
Hope that answers your question.
Still I am not getting results