Difference between revisions of "SUNScholar/XMLUI Theme/M1/Banner Logo"
Jump to navigation
Jump to search
m |
|||
| Line 5: | Line 5: | ||
===Step 1 - Upload logo=== | ===Step 1 - Upload logo=== | ||
Upload your repositories logo to the following images folder. | Upload your repositories logo to the following images folder. | ||
| − | $HOME/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/modules/xmlui/src/main/webapp/themes/ | + | $HOME/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/modules/xmlui/src/main/webapp/themes/SUNScholar/images |
Overwrite or create a file called '''logo.png'''. | Overwrite or create a file called '''logo.png'''. | ||
===Step 2 - Define logo CSS=== | ===Step 2 - Define logo CSS=== | ||
Edit the following file: | Edit the following file: | ||
| − | nano $HOME/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/modules/xmlui/src/main/webapp/themes/ | + | nano $HOME/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/modules/xmlui/src/main/webapp/themes/SUNScholar/lib/css/style.css |
Search for '''<tt>ds-header-logo</tt>''' at line 64 approx. | Search for '''<tt>ds-header-logo</tt>''' at line 64 approx. | ||
Revision as of 13:32, 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/SUNScholar/images
Overwrite or create a file called logo.png.
Step 2 - Define logo CSS
Edit the following file:
nano $HOME/source/dspace/modules/xmlui/src/main/webapp/themes/SUNScholar/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;