1

How can you alter a title on a single page for instance to change colour or be in bold without changing all other titles

1

Let's say the 'title' you want to be different is exactly one, e.g.

<h2>MyTitleNeedsToBeBold</h2>

than you either change it directly:

<h2 style="font-weight:bold;">MyTitleNeedsToBeBold</h2>

or via id-based CSS

<link rel="stylesheet" type="text/css" href="_themes/myStyles.css"/>
<h2 id="mySpecialTitle">MyTitleNeedsToBeBold</h2>

and have the following in your css file

#mySpecialTitle {
    font-weight:bold;
}

If you need this for all h2 tags:

h2 {
    font-weight:bold;
}

If you need it for some tags use the class attribute, etc. etc.

A nice CSS reference: http://www.w3schools.com/cssref/default.asp

0

You can apply changes to a single page by adding CSS into a Content Editor Web Part.

Add the CEWP to the page, click the link "Click here to add new content", then in the ribbon in the Markup section click HTML > Edit HTML Source and add your CSS there.

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.