The default XSLT templates for each of the Ontolica Web Parts incorporate support for CSS style sheet classes; each of these classes can be formatted using the Ontolica search style sheet, which is included in the Ontolica Style Gallery. This gives page designers an easy way to make global formatting changes for all Ontolica Web Parts. The style sheet controls graphical aspects such as fonts, table formats, background colors, paragraph styles, etc.

The Ontolica Search Manager Web Part automatically imports the style sheet named OntolicaSearch.css from the Ontolica Styles Gallery in SharePoint. To find and customize this file:

1. Go to the top level of your SharePoint site collection.

2. Select Site Actions > Site Settings > Modify All Site Settings.

3. You should be on the Site Settings page for your selected collection. Under the Galleries heading, select the Ontolica Styles link.

4. You should now be on the Ontolica Styles page. This works the same way as other types of galleries in SharePoint. Here you can see a folder for each type of Ontolica Web Part (these contain the XSLT templates available for each part) and the OntolicaSearch.css style sheet file. From here, you can open and edit this file using, for example, SharePoint Designer.

IMPORTANT: Always save a backup of the default OntolicaSearch.css style sheet before modifying it. Save your backup with a different name; the active style sheet must always be saved with this standard name in order for it to be used by the Web Parts and result pages.

Need more help with this?

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.