Hello,
I have a question about the highlighting of the searched words in the search results.
Currently the highlighting is done through the <b> tag.
So when I want to have another style than bold I have to write in my CSS:
Unfortunately the ellipsis in the k_search_excerpt variable are also styled with the <b> tag, so they get also the changed styling from my CSS.
Therefore my question: Is it possible to use another tag for the highlighting so that the ellipsis are not affected?
I have a question about the highlighting of the searched words in the search results.
Currently the highlighting is done through the <b> tag.
So when I want to have another style than bold I have to write in my CSS:
- Code: Select all
.search_result b {
font-weight: normal;
background: rgb(255,255,0);
}
Unfortunately the ellipsis in the k_search_excerpt variable are also styled with the <b> tag, so they get also the changed styling from my CSS.
Therefore my question: Is it possible to use another tag for the highlighting so that the ellipsis are not affected?