Adding logo

Adding logo

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 Күлкі 


Thanks Күлкі

In reply to Ana Barbosa

Re: Changing the logo and favicon in aardvark

Mary Evans - келді
Core developers қатысушының суреті Documentation writers қатысушының суреті Peer reviewers қатысушының суреті Plugin developers қатысушының суреті 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

Ana Barbosa - келді

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


Thanks Күлкі

In reply to Ana Barbosa

Re: Changing the logo and favicon in aardvark

Mary Evans - келді
Core developers қатысушының суреті Documentation writers қатысушының суреті Peer reviewers қатысушының суреті Plugin developers қатысушының суреті 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

Ana Barbosa - келді

Yes, it does.

I´m using http://

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


Thanks Күлкі

In reply to Ana Barbosa

Re: Changing the logo and favicon in aardvark

Mary Evans - келді
Core developers қатысушының суреті Documentation writers қатысушының суреті Peer reviewers қатысушының суреті Plugin developers қатысушының суреті Testers қатысушының суреті

You need to leave the // 

don't remove them

In reply to Mary Evans

Re: Changing the logo and favicon in aardvark

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

Gareth J Barnard - келді
Core developers қатысушының суреті Particularly helpful Moodlers қатысушының суреті 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

Mary Evans - келді
Core developers қатысушының суреті Documentation writers қатысушының суреті Peer reviewers қатысушының суреті Plugin developers қатысушының суреті 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