Wednesday, February 26, 2014

Hide page title

Before to the left, after to the right
  1. Create txt file named removepagetitle.txt
  2. Enter :
  3. <style>
    .ms-core-pageTitle{Display:none !Important;}
  4. Upload removepagetitle.txt to your site, for example Site Assets\CodeSnips\
  5. On page insert Content Editor, link your removepagetitle.txt
  6. Title disappears.
Obviously this also can be inserted to a central css and be rid of without pesky webparts, but nice if you want some options.

When using the oslo-masterpage code below seems to do the trick.
<style> #pageContentTitle { display: none !important; } </style>

No comments: