Hello,
we do alot of mirage2 customising, too. So this is our workflow:
CSS:
- We create a new file in
'[dspace.src]/dspace/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2/styles/classic_mirage_color_scheme/'
and register it in the '_main.scss' file.
- To override existing rules we move them from the other *.scss-files
into ours and customise them.
HTML:
- The place for the customised brand header is
'[dspace.src]/dspace/modules/xmlui-mirage2/src/main/webapp/themes/Mirage2/xsl/core/page-structure.xsl'
and there the template 'buildHeader'.
Our experience is that you can't override easily existing code. You have
to merge the standard code with your own.
I hope this helps and kind regards,
Paul Münch
Am 23.11.19 um 19:36 schrieb THUSHARA N V: