SharePoint 2013

I need to edit a master page so that when the title of the page is displayed the font size is smaller than the default. Can someone give me the code?

  • which SharePoint version? – Amal Hashim Nov 5 '14 at 18:38
  • Version is 2013 – Mike Blair Nov 5 '14 at 18:38
  • You have the font size specified twice in this example. – James Waymire Aug 31 '17 at 16:46

Page Title is rendered as

enter image description here

Try this

     color:pink; /*Let us test colour*/
     font-size:9.77em;/*make it huge*/
     /*You edits here*/

Override the above in you master page or custom css file.

  • Can I use this in a CEWP as well? – Mike Blair Nov 5 '14 at 18:52
  • 1
    Yes. But in that case it will get only applied to the page you are adding the CEWP. – Amal Hashim Nov 5 '14 at 18:54
  • Prefer css over master page – Alexey Krasheninnikov Nov 6 '14 at 7:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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