I am implementing a custom design using the Zurb Foundation library. If I don't include the ribbon on the front end will the content author be able to edit content pages using SP Designer?

1 Answer 1


you can add security trimmed on custom masterpage which only an authorised user will be able see the ribbon

1) Open your SharePoint master page
2) Locate this line:
   <div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle">
3) Change it to:
   <div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle" style="display:none">

4) Now find the end of the “s4-ribbonrow” tag and add following
block right after it:

 <Sharepoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl2" runat="server" PermissionsString="AddAndCustomizePages">
        <script type="text/javascript">
            document.getElementById("s4-ribbonrow").style.display = "block";

5) Save the new master page and publish it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.