DSpace Mirage 2

20 views
Skip to first unread message

THUSHARA N V

unread,
Nov 25, 2019, 8:54:42 AM11/25/19
to DSpace Technical Support
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.

Paul Münch

unread,
Dec 5, 2019, 1:40:25 AM12/5/19
to dspac...@googlegroups.com
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:
signature.asc
Reply all
Reply to author
Forward
0 new messages