Changing CSS for highlighted search results
Permalink
I'm currently working with the search block and stumbled across the styling issue. Concrete5 adds a span tag that has a background color applied for each search phrase. It looks like this:
I modified CCM.APP.CSS file, but I still get the same colour. As you can probably tell, I want to change CSS for highlighted search result, but nothing worked so far. I'm hoping somebody has a solution to this problem and would like to share it.
Thanks in advance!
<span style="background-color:#EFE795;">search phrase</span>
I modified CCM.APP.CSS file, but I still get the same colour. As you can probably tell, I want to change CSS for highlighted search result, but nothing worked so far. I'm hoping somebody has a solution to this problem and would like to share it.
Thanks in advance!
Thanks, it worked!
I was wondering, do you know how to change the length of paragraph with search results. Currently it displays in one line, but the number of characters varies greatly.
I hope I'm not pushing my luck with your assistance :)
I was wondering, do you know how to change the length of paragraph with search results. Currently it displays in one line, but the number of characters varies greatly.
I hope I'm not pushing my luck with your assistance :)
Probably because it only shows the 'searched' words.
It shows some text after searched words, but I would like to have more than one line. Something like 2-3 lines would be great. I did not see any options regarding that, nor I have found php code with those settings.
To change the colour try: