Adding logo

Adding logo

by Ana Barbosa -
Number of replies: 9

Hi, i have exactly the same problem.

Tried to change de logo picture: overwrite the image in the pix folder, with the same name and the height of 40pix, then in the theme configuration, added the complete URL to my site but still no result.


Coud you help me, i really wanted to use these theme smile 


Thanks smile

Average of ratings: -
In reply to Ana Barbosa

Re: Changing the logo and favicon in aardvark

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Ok...can you please tell me what version of Moodle are you using and also which version of Aardvark are you using?

Thanks

Mary

In reply to Mary Evans

Re: Changing the logo and favicon in aardvark

by Ana Barbosa -

Hi, i´m using moodle 3.0 and aardvark theme 2.9


Thanks smile

In reply to Ana Barbosa

Re: Changing the logo and favicon in aardvark

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Are you adding http:// I front on the url? As I have a feeling that you need to drop http: but leave the // 

Hope this makes sense?

In reply to Mary Evans

Re: Changing the logo and favicon in aardvark

by Ana Barbosa -

Yes, it does.

I´m using http://

I'll try without the http// and them i´ll leave de feedback here.


Thanks smile

In reply to Ana Barbosa

Re: Changing the logo and favicon in aardvark

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

You need to leave the // 

don't remove them

In reply to Mary Evans

Re: Changing the logo and favicon in aardvark

by Ana Barbosa -

Hi Mary it´s not possible to save the chages without the http:


I'm putting the following URL to the logo

//formacao.xxxx.pt/public_html/formacao/theme/aardvark/pix/logo

In reply to Ana Barbosa

Re: Changing the logo and favicon in aardvark

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Given this logic: https://github.com/superawesomeme/moodle-theme_aardvark/blob/master/layout/header.php#L54-L57 - you don't need to add the URL to the logo in the pix folder.  If you've overwritten the logo in the pix folder itself and removed the other file type versions: https://github.com/superawesomeme/moodle-theme_aardvark/tree/master/pix then remove the 'logo' URL setting value and do a 'Purge all caches' and the image should appear.  But, strangely.... there is no 'pix:theme' type definition in the CSS..... odd.

Ok, scrub above bar the replacing of the image and removal of the other file types and try the URL: //formacao.xxxx.pt/theme/aardvark/pix/logo

In reply to Ana Barbosa

Re: Changing the logo and favicon in aardvark

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

HI,

seeing how you have added the logo without the file type .jpg or .png or .svg

then no wonder the logo will not show up.

so just try this first.

first find the logo in your theme by adding this after your site URL.

/theme/aardvark/pix/logo.png

If the logo.png is not the file type change it to the one it is.

When you see the image on screen, copy the URL and paste it into the settings page for the theme.

Refresh the screen, and if necessary you may need to Purge all cache.

After which you should see the logo.

Please let me know how you get on?

Mary

In reply to Mary Evans

Re: Changing the logo and favicon in aardvark

by Ana Barbosa -

Hi everyone,

I´ve already solve the problem.

I choose to change the CSS file by placing de src image directly into the address header div.

Thanks to everyone for your precious help smile