Formatting the header of a SharePoint 2013 master page

I created a sub-site in SharePoint 2013 and added my custom logo to the page. For some reason, I cannot change the size or color of the title of the main page. I cannot use the web part to create a new name, because the old cannot be removed from the page. This is a small font to the right of the Lefthand Quick Launch menu. I turn to: Site Settings | Look and Feel | Look and Feel Title, description and logo, but it does not allow you to change the color or font size. SP 2013 just counteracts the intuitive, or am I an idiot?

+4
source share
1 answer

This is pretty much how it will work, so don’t puzzle over it.

If you want to change only one item, you can choose 2 options.

  • Edit the v15.master page. This is a bad idea if you have not played with the main files before. Read a lot before heading to the master page.

  • Edit the CSS file. This is much better, simply because rollback is easier.

Both will affect all pages that use these files.

So how do you do this? SharePoint page Title code behind

See the class specified for the header.

class="ms-core-pageTitle"

We need to edit this in your main CSS file for your theme.

SharePoint CSS files

If you decide to join here, you should look for CSS that contains this class, I would choose

/_layouts/15/1033/styles/Themable/corev15.css

You can edit this using SPD or any text editor, note that the path I used is at 15 beehives on the server.

\\spserver\c $\ Program Files\Common Files\microsoft shared\ -\15\TEMPLATE\LAYOUTS\1033\STYLES\Themable\COREV15.CSS

.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*/
}

, F5 .

0

All Articles