Editing the color of highlighted search results

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Get Involved
Locked
JMartins81
Registered User
Posts: 35
Joined: Sat Oct 25, 2008 9:40 pm

Editing the color of highlighted search results

Post by JMartins81 »

When I search for a word, such as "objectivism", all occurences of the word "objectivism" will be highlighted in a certain color when the results appear. Can someone please tell me where in colors.css/common.css I edit this color? I haven't found it under any of the sections having to do with the search function. Thanks.
Last edited by Raimon on Wed Dec 10, 2008 10:26 pm, edited 1 time in total.
Reason: Topic icon changed
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: Editing the color of highlighted search results

Post by ameeck »

In colours.css:

Code: Select all

.posthilit {
	background-color: #F3BFCC;
	color: #BC2A4D;
}
The colors are for prosilver, you style may have different values, search for the posthilit class.
Last edited by ameeck on Wed Dec 10, 2008 10:10 pm, edited 1 time in total.
JMartins81
Registered User
Posts: 35
Joined: Sat Oct 25, 2008 9:40 pm

Re: Editing the color of highlighted search results

Post by JMartins81 »

ameeck wrote:In coulours.css:

Code: Select all

.posthilit {
	background-color: #F3BFCC;
	color: #BC2A4D;
}
The colors are for prosilver, you style may have different values, search for the posthilit class.
Thank you very much. :)
Locked

Return to “[3.0.x] Styles Support & Discussion”