Difference between revisions of "SUNScholar/XMLUI Theme/M1/Banner Logo"
Jump to navigation
Jump to search
| Line 15: | Line 15: | ||
Change to the following: | Change to the following: | ||
background: url('../../images/logo.png'); | background: url('../../images/logo.png'); | ||
| + | |||
| + | For SUNScholar we use a logo of 1000px by 100px, so the following was changed. | ||
| + | <pre> | ||
| + | width: 1000px; | ||
| + | height: 100px; | ||
| + | margin-top: 0px; | ||
| + | </pre> | ||
Revision as of 13:20, 27 May 2015
Back to Mirage 1 Modification
Step 1 - Upload logo
Upload your repositories logo to the following images folder.
$HOME/source/dspace/modules/xmlui/src/main/webapp/themes/Mytheme/images
Overwrite or create a file called logo.png and make sure that the CSS stylesheets refer to your custom logo header image file.
Step 2 - Define logo CSS
Edit the following file:
nano $HOME/source/dspace/modules/xmlui/src/main/webapp/themes/Mytheme/lib/css/style.css
Search for ds-header-logo at line 64 approx.
Change to the following:
background: url('../../images/logo.png');
For SUNScholar we use a logo of 1000px by 100px, so the following was changed.
width: 1000px;
height: 100px;
margin-top: 0px;