XenForo Tutorials

Highlight Search Results xenForo

Submitted by Oxygen, , Thread ID: 16046

Thread Closed
Oxygen
<div class="postbit-usertitle">
Prime
Level:
0
Reputation:
35
Posts:
608
Likes:
62
Credits:
1.47K
23-12-2015, 01:33 PM
#1
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]

Users browsing this thread: 1 Guest(s)