Sometimes you would like to hide or change some displaying behaviour in SharePoint. Well, i post here a small collection of those which i used more often.
Hiding recycle bin and all site content
[sourcecode language=”csharp”]
.s4-specialNavLinkList{
Display: none !important;
}
[/sourcecode]
Hiding search box
[sourcecode language=”csharp”]
s4-search{
Display: none; !important
}
#SRSB {display:none}
[/sourcecode]
Change color of title row
[sourcecode language=”csharp”]
s4-title{
background-color: #ffffff;
}
[/sourcecode]
Hiding the ListContextGroup from Ribbon
[sourcecode language=”csharp”]
.ms-cui-tts{
display: none !important;
}
[/sourcecode]
Hide the title and description from site
[sourcecode language=”csharp”]
BODY .s4-titletext {
DISPLAY: none
}
BODY .s4-titlelogo {
float:left;
}
.s4-title .s4-pagedescription {
VISIBILITY: hidden
}
[/sourcecode]
Hiding Quicklaunchbar
[sourcecode language=”csharp”]
#s4-leftpanel{
display:none
}
.s4-ca{
margin-left:0px
}
[/sourcecode]
This is just a small list – i would appreciate if you have more to put a comment below.
..:: I LIKE SHAREPOINT ::..
Hi, I need to deactivate the titles – LIST and DOCUMENT LIBRARY in the quicklaunch