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:
> Currently I am using mirage2 theme for DSpace and I have own css and html 
> files built for the customized brand header. How can I add that to existing 
> mirage2 theme. 
>


-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6b379cc6-21fe-1a10-54b4-5dc23e1e7cb0%40staff.uni-marburg.de.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to