I am using SharePoint 2013 on premises environment. I am opening a page (Pages library) in a popup. I want to hide the dialog title using Script editor web part, and achieved the requirement below script

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script language="javascript" type="text/javascript">
    $(document).ready(function () {

But i want the same implementation using CSS styles. I tried the below one but not working

<style type="text/css">
<style type="text/css">
#dialogTitleSpan {
| improve this answer | |

I have followed the following steps:

  • Edited the Page listing page
  • Kept Content Editor WebPart
  • Inserted following code

    <style type="text/css"> .ms-dlgTitleText { display:none!important; } </style>

  • Save the page.

And it hides the title of page. See snap.

enter image description here

| improve this answer | |

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.