RESOLVED|Archaius Theme: Remove Moodle logo from footer

RESOLVED|Archaius Theme: Remove Moodle logo from footer

por valerie lenoire -
Número de respuestas: 19

Hello, I have looked and search and think I've tried everything.

I want to remove the moodle logo from all my pages. I've tried to change the CSS in the theme. I am using the theme Archaius and I have Moodle version 2.7

(Edited by Mary Evans - to change subject line to make it clear that this post is about a specific theme and not the standard Moodle Themes we all know and love.- original submission Tuesday, 24 June 2014, 10:03 AM)

(Edited by Mary Evans - original submission Monday, 7 July 2014, 12:20 PM)

Promedio de valuaciones (ratings): -
En respuesta a valerie lenoire

Re: Remove Moodle logo from footer

por Mary Evans -
Imagen de Core developers Imagen de Documentation writers Imagen de Peer reviewers Imagen de Plugin developers Imagen de Testers

If you have access to the theme files look in the layout directory and look for one called general.php or default.php or any that start with columns.

If you can tel me what you find I ca give you instructions on how to remove the code that generates the logo in that theme. 

Cheers

Mary

Promedio de valuaciones (ratings):Useful (1)
En respuesta a Mary Evans

Re: Remove Moodle logo from footer

por valerie lenoire -

Hello Mary,

I've tried to find general.php but the only map I found in my moodle is pix. I work with filezilla... 

I hope you can help me work this out..

Cheers

Val

En respuesta a valerie lenoire

Re: Remove Moodle logo from footer

por Emma Richardson -
Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Plugin developers

This is what I use in CSS - different theme but I think it should still be the same.

.homelink {

display:none

}

.sitelink {

display:none

}

En respuesta a Emma Richardson

Re: Remove Moodle logo from footer

por valerie lenoire -

I wish it was the same.. but I already used the codes and even tried visibility instead of display. But both ways do not work for my theme. And it's annoying me. I want it removed...

En respuesta a valerie lenoire

Re: Remove Moodle logo from footer

por Mary Evans -
Imagen de Core developers Imagen de Documentation writers Imagen de Peer reviewers Imagen de Plugin developers Imagen de Testers

Hi Valerie,

If using 'Filezilla' in your Moodle root directory go to /theme/archaius/layout/partials/footer.php and delete the following lines...

<p>
<a href="http://moodle.org" title="Moodle">
<img src="<?php echo $OUTPUT->pix_url('moodle-logo','theme')?>" alt="Moodle logo" />
</a>
</p>

Save the file back too your server and refresh screen with Ctrl + F5

Hope that helps?

Mary

I have just updated this fix as the original information was changed in the theme.

MLE - 7/Oct/2014

Promedio de valuaciones (ratings):Useful (2)
En respuesta a Mary Evans

Re: Remove Moodle logo from footer

por Rick Jerz -
Imagen de Particularly helpful Moodlers Imagen de Testers

In 2.7 (more), I found the following CSS seems to work.  I am not sure if this would work in other themes.

img {

    display: none;

}

En respuesta a Rick Jerz

Re: Remove Moodle logo from footer

por Richard Oelmann -
Imagen de Core developers Imagen de Particularly helpful Moodlers Imagen de Plugin developers Imagen de Testers

Except that will hide every image, wont it Rick?

Promedio de valuaciones (ratings):Useful (3)
En respuesta a Richard Oelmann

Re: Remove Moodle logo from footer

por Rick Jerz -
Imagen de Particularly helpful Moodlers Imagen de Testers

Oh my, you are right!  Well, it is always interesting to see what damage a little CSS code can do.

Thanks for pointing this out.

En respuesta a Mary Evans

Re: Remove Moodle logo from footer

por Bernard Marko -

Hi Mary,

Do you know if this solution should work in Moodle 2.7.  In my theme/mytheme/layout directory I do not have a partials folder, just a frontpage.php.

Hope you can help.

Thanks,

Bernard


En respuesta a Bernard Marko

Re: Remove Moodle logo from footer

por Mary Evans -
Imagen de Core developers Imagen de Documentation writers Imagen de Peer reviewers Imagen de Plugin developers Imagen de Testers

Hi Bernard,

How you remove the home link from your theme depends largely on which theme you are using. In a standard Moodle theme something like this CSS should work ...

#page-footer .homelink { display: none; }

If you are using Clean theme,  you can add this CSS to the Custom CSS box found in Clean theme's custom setting page here...

Site Administration > Appearance > Themes > Clean (this is a link to the Clean settings page listed at this point, along with other themes that have settings pages).

Also you will need to enable Theme Designer Mode before you see the changes to your theme.

However, if your theme is not a normal Moodle theme, then it all depends on how the link was added to the page in the first place. To know this you would need to look at the footer in the layout for the page like the frontpage.php or general.php or default.php depending again on the theme.

Hope this helps?

Mary

En respuesta a Mary Evans

Re: Remove Moodle logo from footer

por Bernard Marko -

Hi Mary,

Thanks very much for your help. It finally worked by putting the CSS into the Custom CSS Box, which I was sure I'd tried before but must have not refreshed properly. Certainly, the Theme Designer Mode was very helpful for ensuring any changes were immediately apparent.

Cheers,

Bernard

En respuesta a Emma Richardson

Re: Remove Moodle logo from footer

por Bernard Marko -

Hi Emma,

Where exactly did you put that CSS. I have tried it in theme/mytheme/style/custom.css but to no avail.

Thanks,

Bernard


En respuesta a Bernard Marko

Re: Remove Moodle logo from footer

por Emma Richardson -
Imagen de Documentation writers Imagen de Particularly helpful Moodlers Imagen de Plugin developers

I am using Elegance and was able to place it in the General Settings/Custom CSS area.  Try using the developer mode in Chrome to pinpoint the exact class.  It might be labelled slightly differently in your theme.

En respuesta a Bernard Marko

Re: Remove Moodle logo from footer

por Rick Jerz -
Imagen de Particularly helpful Moodlers Imagen de Testers

I am using (experimenting) More.  Here's a picture showing you how I have added this to the Custom CSS textbook in the More theme (found in Site Admin | Appearance | Themes | More ).

(Thanks Emma and Mary.)


Anexo more.jpg
Promedio de valuaciones (ratings):Useful (1)
En respuesta a valerie lenoire

Re: Archaius Theme: Remove Moodle logo from footer

por Ray Gauthier -

in 2.7 this worked for me.

In the custom CSS, I added

.sitelink a img { display: none; }


En respuesta a Ray Gauthier

Re: Archaius Theme: Remove Moodle logo from footer

por Mary Evans -
Imagen de Core developers Imagen de Documentation writers Imagen de Peer reviewers Imagen de Plugin developers Imagen de Testers

Unfortunately this does not work in the Archaius theme. However the original question has been resolved.

Thanks

Mary