 |

compubase
User
Jul 19, 2004, 7:00 AM
Post #1 of 3
(3206 views)
Shortcut
|
|
How to customize the higlighted context <span style="background:cyan; color:blue; font-weight: bold;">
|
Can't Post
|
|
Hi all, I noticed when using the $context$ keyword, the search word is highlighted. The HTML shows a CSS span: <span style="background:cyan; color:blue; font-weight: bold;"> I want to be able to customize this. How can I do this. Thanks, Joep
|
|
|  |
 |

Donna
Staff
/ Moderator

Jul 19, 2004, 11:05 AM
Post #2 of 3
(3201 views)
Shortcut
|
|
Re: [compubase] How to customize the higlighted context <span style="background:cyan; color:blue; font-weight: bold;">
[In reply to]
|
Can't Post
|
|
Hi Joep, Thanks for your email. :) You can modify this in the following templatecell: <!-- templatecell : must_words --><span style="font-weight: bold;">$word$</span><!-- /templatecell : must_words --> <!-- templatecell : may_words --><span style="font-weight: bold;">$word$</span><!-- /templatecell : may_words --> You can of course modify this to whatever you would like. If there's no content in those fields, it will default to the cyan. :) I hope this helps! Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

compubase
User
Jul 19, 2004, 12:56 PM
Post #3 of 3
(3198 views)
Shortcut
|
|
Re: [Donna] How to customize the higlighted context <span style="background:cyan; color:blue; font-weight: bold;">
[In reply to]
|
Can't Post
|
|
Hi Donna, Thanks for your quick reply. Your answer put me on the right track! Maybe it is a good idea to document the default styles if none are configured. I was looking in the templates for the word cyan, but could not find it (now we know why). Cheers, Joep
|
|
|  |
|