6

Can you please assist me for removing hyperlink from webpart title. I have added # in webpart URL option but I want to make the webpart title non-clickable.

1
  • 1
    what version of sharepoint are you using?
    – Ali Jafer
    Jul 16, 2014 at 9:13

1 Answer 1

10
  1. Edit page
  2. Edit web part
  3. Appearance --> Advanced --> Title URL
  4. Remove value of field
  5. Save

If that doesn't do it:

  • place a "#" in the Title URL field

If still that is not good enough:

  • place "###" in the Title URL field and

jQuery(document).ready(function () {

       $('a').filter("[href='###']").each(function () {
        $(this).replaceWith($(this).html());
       });

 });
1
  • 1
    We had to use %23%23%23 instead of ### in jQuery to get it working
    – MCollard
    Aug 21, 2017 at 13:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.