EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02451
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Version 3.3.12 - changing the front page
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Version 3.3.12 - changing the front page
- From: Jose Martin <J.Martin@ulcc.ac.uk>
- Date: Tue, 26 Nov 2013 14:00:21 +0000
Hi Malcolm, You are almost there: all you need is to isolate the text in a <span> tag and apply your styles there, something like: <div class="ep_tm_site_logo"> <a href="" title="WestminsterResearch"> <img alt="WestminsterResearch" src=""> <span class=”ep_tm_archivetitle”> WestminsterResearch </span> </a> </div> And in your css file, as you currently have: .ep_tm_archivetitle { float: right; font: 40px Arial,Sans-serif; color: #990033; text-decoration: none; } Cheers, Jose From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Malcolm Bodger Hi John, If you look at our live eprints: westminsterresearch.wmin.ac.uk The WestminsterResearch appears in bold red on the right in line with the logo on the left. If you look at my 3.3.12 (isls-eprints-31.wmin.ac.uk) the text on the right was ok but a line below the logo and giving me a very broad top line. I've made your change and I now have a smaller text with underline and not quite on the far right. Do you think it might need to point to the style sheet? Thanks. Regards, Malcolm. From:
eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of John Salter <J.Salter@leeds.ac.uk> Hi Malcolm, The two highlighted ‘archive_name’s in your file: The first is the <title> of the page (displayed in e.g. browser header bars/bookmarks). The second is the title for the eprints logo image. Try (logo to the left of the title): <div class="ep_tm_site_logo"> <epc:phrase ref="archive_name"/> -------------------------------------- or (no logo): <div class="ep_tm_site_logo"> - I hope I’ve understood your problem! Cheers, John From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Malcolm Bodger Hi, Hi, I want to put some text 'WestminsterResearch' on the top right of our home page. I would expect my .../cfg/lang/en/templates/default.xml having a mention for the phrase 'archive_name' would do the job, but it doesn't work and I'm having to do it by adding: <div class="ep_tm_archivetitle"> The problem I'm having is getting it in line with my logo on the left corner. Using the default.xml on my version 3.2.3 it works fine. My xml abilty is below basic. Is there a problem with my phrases? This is the top of my default.xml file: <?xml version="1.0" standalone="no"?> Thanks, Malcolm. The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW. This message and its attachments are private and confidential. If you have received this message in error, please notify the sender and remove
it and its attachments from your system. The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW. This message and its attachments are private and confidential. If you have received this message in error, please notify the sender and remove
it and its attachments from your system. |
- References:
- [EP-tech] Version 3.3.12 - changing the front page
- From: Malcolm Bodger <M.Bodger@westminster.ac.uk>
- [EP-tech] Re: Version 3.3.12 - changing the front page
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: Version 3.3.12 - changing the front page
- From: Malcolm Bodger <M.Bodger@westminster.ac.uk>
- [EP-tech] Version 3.3.12 - changing the front page
- Prev by Date: [EP-tech] Re: Splitting of search terms in advanced search
- Next by Date: [EP-tech] Re: Version 3.3.12 - changing the front page
- Previous by thread: [EP-tech] Re: Version 3.3.12 - changing the front page
- Next by thread: [EP-tech] Re: Version 3.3.12 - changing the front page
- Index(es):