Difference between revisions of "SUNScholar/XMLUI Theme/M2/Customisation/Typography"
Jump to navigation
Jump to search
| Line 10: | Line 10: | ||
This is equivalent to: | This is equivalent to: | ||
nano $HOME/source/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L194 | nano $HOME/source/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L194 | ||
| − | + | Go to line 194 and insert the following: | |
<pre> | <pre> | ||
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold"> | <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold"> | ||
Revision as of 12:32, 26 May 2015
Back to Mirage 2 Customisation
Introduction
This wiki page has instructions on how to configure the fonts used in your custom Mirage 2 theme.
Step 1 - Define fonts reference
Modify XSL to use custom fonts. Check the following link:
This is equivalent to:
nano $HOME/source/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl#L194
Go to line 194 and insert the following:
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold">
Step 2 - Define fonts css
font-family: "Ubuntu","Ubuntu Beta",UbuntuBeta,Ubuntu,"Bitstream Vera Sans","DejaVu Sans",Tahoma,sans-serif;