Styling CSS
The simplest, and our recommended approach to custom styling, is to override the base CSS rules. Create your own stylesheet, include it in your website and override the styles you would like to change by cross-referencing our base stylesheets.
With this approach, as Klevu introduces new features or bug fixes, we may tweak the base CSS and you will directly benefit from these fixes. We take care not to introduce any breaking changes, but this approach does mean that if you have overridden something which we change in our base file, you may need to make minor changes to your own overrides from time to time.
Default CSS files
Note: You can place an additional .debug within the filename to view the un-minified version. This is handy for reference purposes only.
e.g.
If you prefer to modify the styles directly, rather than creating overrides, you may wish to take a copy of our CSS file and create your own version. You can then add this to your website and modify any of our CSS rules in place.
In order to stop Klevu styles from loading, you will need to add a setting to Klevu initialization to prevent the loading of our default styles:
The Klevu Template JS includes the necessary analytics class selectors for reporting product click tracking.
Including these specific class selectors is a common oversight when using custom templates.
See Analytics/Tracking for further details