Google Custom Search CSE - Highlight results
How do you highlight the results search term on a google custom开发者_开发知识库 search?
Original answer by user @ss888.
I've just managed to workout using the Firefox add-on, Firebug, (Original source here) - how to highlight the results search term on a google custom search.
Simply add this to your stylesheet, et voila - .gsc-results .gs-snippet b { background-color:#ff3100; padding:0 3px; color:#FFF; }
Hope this helps someone as I couldn't find anything on it.
精彩评论