Tuesday, 29 July 2014

SharePoint 2013 - Hide Edit and Show Title Row by Default

Quick tip:

I have created the custom list form. When the form is loaded, I wanted to hide the Edit and Page tool bar and show the Title row by default.

This easiest way to do that is to use below CSS using SharePoint designer after main content place holder.
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
<style type="text/css">
      #s4-ribbonrow{ display:none; }
      #s4-titlerow { display:block !important; }
This is the final output

No comments:

Post a Comment