Highlight Search Results xenForo

by Oxygen - 23-12-2015, 01:33 PM
<div class="postbit-usertitle">
Posts:
646
Joined:
Feb 2015
Likes:
50
Credits:
1,222
Reputation:
35
2 Years of Service
#1
OP
Posted: 23-12-2015, 01:33 PM
This is a very simple tweak but does help to highlight search results.

Search results use the highlight CSS class, which only has font-weight:bold applied by default.

You can use that class to style the results to make them stand out more.
Simply add this to EXTRA.css for example to make the matched search result text colour orange:
Code:
.highlight
{
color: @secondaryMedium;
}
You can obviously style it to suit.
[Image: UeTXrZ5.png]
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)