1

I want to hide "Other value " in sharepoint refinament web part using jquery.Please fine thebelow screenshot for the same. If i use ID "Other value every text get's changed"

enter image description here

2
  • Not clear about question, you want to hide "other Value" div but not able to do using Jquery. Please post your code to hide the element Oct 15, 2018 at 13:51
  • Yes i want to hide "Other Value "div for all the refineries Oct 15, 2018 at 13:57

2 Answers 2

1

According to the HTML elements in your screenshot, add a Content Editor WebPart or Script Editor WebPart to the page and add the following CSS rule to hide the "Other Value" link.

<style type="text/css">
    .ms-ref-unselSec #OtherValue {
        display: none;
    }
</style>
0
1

If the requirement to hide that div is only relevant on a few pages the content editor approach makes sense. However if it should apply of multiple pages I'll suggest that you make a custom search refiner template

1
  • Not sure which display template the word "Other value " template contains.. Oct 15, 2018 at 15:55

Your Answer

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

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