1

How do I remove this from SharePoint without messing up the page?

I am using the Oslo MasterPage.

<div id="titlerow" class="ms-dialogHidden ms-core-header ms-tableRow">

On my site if I delete this element with the IE Developer Tools, the page looks like this (which is what I want):

enter image description here

However when I delete this line from the master page it looks like this?

enter image description here

Any ideas what I can do to get it to work the way I want it?

4
  • are those ootb master page and css? are you removing the closing div properly? perhaps you may want to try and leave the div there, just add display:none or visibility:hidden instead. sometimes sharepoint makes crazy calculations on existing div elements Commented Oct 6, 2014 at 11:56
  • Yes this is the ootb oslo master page. Where do I insert the display:none or visibility:hidden?
    – surfnode
    Commented Oct 6, 2014 at 12:02
  • 1
    <div id="titlerow" style="display:none" class="ms-dialogHidden ms-core-header ms-tableRow"> Commented Oct 6, 2014 at 12:10
  • excellent, just what the doctor ordered! ;)
    – surfnode
    Commented Oct 6, 2014 at 12:36

2 Answers 2

0

You can "remove" that element with an inline style.

e.g.

<div id="titlerow" style="display:none" class="ms-dialogHidden ms-core-header ms-tableRow">

or css,

#titlerow{display:none;}
0

Remove margins from siteIcon ID, it will reduce the header height of SharePoint Site.

#siteIcon
{
    margin:0px 20px !important;
}

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.