Does OpenLayers not use a CSS theme?

I need to adjust the position (using CSS) of some elements, but when I change the style.css document in the theme / default directory inside OpenLayers, the CSS changes do not apply to the map.

In addition, the icons contained in the / default / img directory for the card are not used. Instead, the icons found in the base / img directory are used.

Does anyone know how to tell OpenLayers to use CSS and images from a specific theme?
How to tell OpenLayers topic?

0
source share
1 answer

Make sure you refer to style.css, which is in the theme / default directory correctly. Otherwise, OpenLayers will rely on the path to images defined internally and not in CSS classes, so your images are loaded from the root directory and not the "theme / default / img", I think.

+1
source

All Articles