image / logo size on front page using Standard Logo Theme

image / logo size on front page using Standard Logo Theme

by Michael Rodgers -
Number of replies: 3

Hi I am using the standard logo theme for my Moodle site but want to replace the logo with my own. The theme preview screen offers the advice below about replacing the logo. However what I want to know is does my own logo have to be a certain size by default or will it be resized if I upload to the main directory? The other thing was even if I upload a logo.jpg into the admin site files...how do I get it to replace what's already there, or is it simply recognised straight away?

Standard Logo Theme

To add your own homepage logo to this theme, you can simply:

  1. upload a file called logo.jpg or logo.gif in your Site Files (look on the home page),

    OR

  2. put a file called logo.jpg or logo.gif in the main Moodle directory (using FTP, for example).
Thanks,
Michael
Average of ratings: -
In reply to Michael Rodgers

Re: image / logo size on front page using Standard Logo Theme

by Mauno Korpelainen -

From header.html you find a code that tries to find logo.jpg or logo.gif first from wwwroot, then from site files and then from theme/standardlogo folder. Size of that image is not limited (you may use any size). You may replace old file with the new image.

In reply to Mauno Korpelainen

Re: image / logo size on front page using Standard Logo Theme

by centox centox -
hi mauno

i managed to place my logo in the start page. ok.

but on the login page no logo appears.

i changed the standard theme with the code part for the logo out of the logo theme.

now, what do i have to do to see the my logo on top of all pages???

help appreciated

regards
centox
In reply to centox centox

Re: image / logo size on front page using Standard Logo Theme

by Dr. Moodlearner -
In the standard theme you will have to edit the header.html to add grafix. try using a theme that already has the following files in the theme folder; logo.jpg and logo_small.jpg.

look for these files in ~/moodle/theme/"theme name"

All you need to do when lets say you are using the theme "formal_white" is replace logo.jpg and logo_small.jog with your own logos with similar height.

hope this helps.