I downloaded the Default Item template from Display Templates -> Search directory, assuming that template controls that actual text for titles in search results, only to discover that it does not. It simply has....


for each item. This appears to be a wrapper for each Item. But which display template allows us to actually change the title variable for search result?

1 Answer 1


"Item_CommonItem_Body.html" under Master Page > Display Templates > Search

<div id="_#= $htmlEncode(id + Srch.U.Ids.title) =#_" class="ms-srch-item-title"> 
    <h3 class="ms-srch-ellipsis">
        _#= titleHtml =#_

I searched for "ms-srch-item-title" class and there it was.


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.