2

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?

3
  • which SharePoint version? Nov 5, 2014 at 18:38
  • Version is 2013
    – Mike Blair
    Nov 5, 2014 at 18:38
  • You have the font size specified twice in this example. Aug 31, 2017 at 16:46

1 Answer 1

4

Page Title is rendered as

enter image description here

Try this

.ms-core-pageTitle
{  
     font-size:2.77em;
     white-space:nowrap;
     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.

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

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.