We have a portal in SharePoint 2013. We had a requirement to hide sharepoint 2013 ribbon for lower level users. We make use of the security trim control in master page and achieved it. Now ribbon is available only for the higher level users. But this comes with an issue, when sharepoint trims the Ribbon based on a prvilege, it removes the scrollbars too. Now the common users of our portal not able to navigate to the bottom portion of our site pages.
Is there any quick fix for this issue?
Or is there any other way to hide ribbon for the common users in SharePoint 2013?
Code :
<SharePoint:SPSecurityTrimmedControl runat="server" PermissionsString="FullMask"> <div id="ms-designer-ribbon"> <div class="DefaultContentBlock" style="background:rgb(0, 114, 198); color:white; width:100%; padding:8px; height:64px; overflow:hidden;">...</div> </div> </SharePoint:SPSecurityTrimmedControl>