How to Remove the Link Behind the Title of a SharePoint Web Part

Learn how easy it is to remove the link behind the title of a SharePoint Web Part with this how-to article

Jasper Oosterveld

by Jasper Oosterveld on 2/2/2015

Share this:
Print

Article Details

Date Revised:
2/2/2015

Applies to:
SharePoint, SharePoint Online, Web Parts


Sponsored by


One of my colleagues asked, “How can you disable the link behind the title on a List View Web Part?” To be honest, I had no idea. I never had to look into this question. Thanks to my awesome colleague Masoud Samadi, we found the answer very quickly. Let me show you!

Go to your SharePoint site and click Edit Page:

SharePoint remove the link of the web part title  

Open the properties of the Web Part. Browse over to the drop-down menu and choose Edit Web Part:

SharePoint remove the link of the web part title  

The Web Part properties appear.

SharePoint remove the link of the web part title  

Expand the Advanced section.

SharePoint remove the link of the web part title  

Here we can find the answer to the question! Remove the URL in the field Title URL and replace it with: #

Save the Web Part and try to click on the title. Nothing happens. Awesome!

Of course, this doesn’t mean end-users aren’t able to go to the list behind the Web Part. They can still use the Site Contents menu.


Topic: General Knowledge

Sign in with

Or register

  • I needed to have a landing-page with ''''buttons only'''', so that end users simply had no access to the entire site contents made a bunch of pages for the several departments, each with a doclib attached and webparts showing the contents of the respective doclibs. Each sitepage had its own permissions, and several promoted links apps had the permissions set at item-level rather than app-level. In order to prevent end users to browse the site contents, I had to make the quick-link menu and the upper bars (with the Newsfeed, OneDrive, Sites and Edit Page links) invisible. I managed to achieve that by inserting a script editor webpart and fill it with this code:

    Result: end users are not presented with any clickable items and the only means for them to access ''''undesired'''' sitecontent is by directly entering the proper url in the browser.
    • Ah. That was useful... naturally, my code totally disappears in the comment... pm me if you''''d like it...
      • Another try:
        lt style type="text/css" gt
        lt ! hide quick launch left menu gt
        #sideNavBox { display: none }
        lt ! move page content to the left side of the page, in the space where the sideNavBox was gt
        #contentBox { margin-left: 25px }
        lt ! hide search box (nestled within the titleAreaBox) gt
        #titleAreaBox #SearchBox {display: none !important }
        lt ! hide pagetitle (useful when using a url that differs from the pagetitle) gt
        #DeltaPlaceHolderPageTitleInTitleArea {display: none !important }
        lt ! hide topbar (SharePoint, Newsfeed, OneDrive, Sites, [username], settings-cog, help) gt
        #suiteBar {display: none !important }
        lt ! hide 2nd topbar (browse, item/page/library, share, follow, sync, edit, fullscreen) gt
        #s4-ribbonrow {display: none !important }
        lt /style gt
  • It''''s working Japer. Thanks a lot!
  • works like a charm... still display as clickable but doesn't take you anywhere.. almost perfect :) thanks
  • dfsg
  • Does NOT work. SharePoint re-adds the title on save.