Difference between revisions of "SUNScholar/XMLUI Theme/M1/Banner Logo"

From Libopedia
Jump to navigation Jump to search
Line 30: Line 30:
 
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/SUNScholar/lib/xsl/core/page-structure.xsl
 
  nano $HOME/<u>[[SUNScholar/Install_DSpace/S03#Step_3.2|source]]</u>/dspace/modules/xmlui/src/main/webapp/themes/SUNScholar/lib/xsl/core/page-structure.xsl
Comment out the following at line
+
Comment out the following at line 348:
 +
<pre>
 +
<span id="ds-header-logo-text">
 +
  <i18n:text>xmlui.dri2xhtml.structural.head-subtitle</i18n:text>
 +
</span>
 +
</pre>

Revision as of 14:11, 27 May 2015

Back to Mirage 1 Modification

Introduction

This wiki page has instructions on how to replace the default DSpace logo.

Please see: http://www.lynda.com/Logo-Design-training-tutorials/1329-0.html for logo design.

It is not the intention of this wiki page to teach logo design.

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;

Step 3 - Remove logo text

Edit the following file:

nano $HOME/source/dspace/modules/xmlui/src/main/webapp/themes/SUNScholar/lib/xsl/core/page-structure.xsl

Comment out the following at line 348:

<span id="ds-header-logo-text">
   <i18n:text>xmlui.dri2xhtml.structural.head-subtitle</i18n:text>
</span>