Forum Discussion
How to display the SharePoint page title?
When I view my SharePoint site in developer mode, I'm able to see the title. But used class name as ms-hidden.
Maybe because of this page title is not visible. I don't know to edit code in the master page.
Please tell me the code I can paste in the script editor. Or please help with other solutions to display the page title. I tried with the below code, but it is not helping.
<style type="text/css">
.ms-core-pageTitle {
display: inline;
}
</style>The actual SharePoint title code is as below:
<h1 class="ms-core-pageTitle" id="pageTitle">
<span id="DeltaPlaceHolderPageTitleInTitleArea">
<label class="ms-hidden">Some Title</label>
</span>
<div class="ms-displayInlineBlock ms-normalWrap" id="DeltaPlaceHolderPageDescription">
<a id="ms-pageDescriptionDiv" style="display:none;" href="javascript:;">
<span id="ms-pageDescriptionImage"> </span>
</a>
<span class="ms-accessible" id="ms-pageDescription">
</span>
<script type="text/javascript">// <![CDATA[
_spBodyOnLoadFunctionNames.push("setupPageDescriptionCallout");
// ]]>
</script>
</div>
</h1>
2 Replies
- EricStarkerFormer Employee
Hello! You've posted your question in the Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the SharePoint space - please post SharePoint questions here in the future.
- dudhaniCopper Contributor
Ok. Thanks for the update.