RESOLVED|Archaius Theme: Remove Moodle logo from footer

RESOLVED|Archaius Theme: Remove Moodle logo from footer

by valerie lenoire -
Number of replies: 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)

Average of ratings: -
In reply to valerie lenoire

Re: Remove Moodle logo from footer

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of 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

Average of ratings: Useful (1)
In reply to Mary Evans

Re: Remove Moodle logo from footer

by 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

In reply to valerie lenoire

Re: Remove Moodle logo from footer

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of 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

}

In reply to Emma Richardson

Re: Remove Moodle logo from footer

by 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...

In reply to valerie lenoire

Re: Remove Moodle logo from footer

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of 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

Average of ratings: Useful (2)
In reply to Mary Evans

Re: Remove Moodle logo from footer

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of 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;

}

In reply to Rick Jerz

Re: Remove Moodle logo from footer

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Except that will hide every image, wont it Rick?

Average of ratings: Useful (3)
In reply to Richard Oelmann

Re: Remove Moodle logo from footer

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of 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.

In reply to Mary Evans

Re: Remove Moodle logo from footer

by 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


In reply to Bernard Marko

Re: Remove Moodle logo from footer

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of 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

In reply to Mary Evans

Re: Remove Moodle logo from footer

by 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

In reply to Emma Richardson

Re: Remove Moodle logo from footer

by 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


In reply to Bernard Marko

Re: Remove Moodle logo from footer

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of 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.

In reply to Bernard Marko

Re: Remove Moodle logo from footer

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of 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.)


Attachment more.jpg
Average of ratings: Useful (1)
In reply to Bernard Marko

Re: Remove Moodle logo from footer

by Bernard Marko -

Hi Emma,

Thanks very much for your help. That worked putting the CSS into the Custom CSS Box.

Cheers,

Bernard

In reply to valerie lenoire

Re: Archaius Theme: Remove Moodle logo from footer

by Ray Gauthier -

in 2.7 this worked for me.

In the custom CSS, I added

.sitelink a img { display: none; }


In reply to Ray Gauthier

Re: Archaius Theme: Remove Moodle logo from footer

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

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

Thanks

Mary