When I launch GeoNetwork, all changes in files of style (geonetwork.css, gn_search_less, gn_view.less,...) are lost, and the system generates a new file /static/gn_search_default.css.

How can I customize the GeoNetwork style (colors, style, ..) and have them persist every time I launch GeoNetwork?


You changed the right files (.less files), but to see them visible you need to add debug parameter (?debug) or before launch delete all wro4j* files.

You add the debug parameter to the URL like:


This is what it looks like in a browser:

debug param use with GeoNetwork URL

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.