In most Moodle themes, the Moodle branded logo is shown at the bottom of each page. When making a Moodle site for a college or another professional setting, the logo is typically not wanted at the bottom of the page. The logo can be removed from the theme.

Depending on the type of theme, the logo can be removed either through the Moodle Site administration section or through the code on the server. This article will explain how to remove the Moodle branded logo from 2 different themes: Formal White (Done through the Site Administrator) and Afterburner (Done through the code).

Removing the Moodle brand logo through the Theme properties

remove-branding-1-with-moodle Many themes have the option to edit the theme properties through the Moodle Site administration section. In the Appearance > themes section, the theme can be selected and edited through the dashboard. In this case, the Formal White theme will be used as an example.

The image to the right shows what the Theme looks like with the Moodle link at the bottom of the page. There are many reasons to remove the link. This link can be removed through the Moodle site administration.

Steps to edit in the Moodle Site administration

  1. Log into the Moodle Dashboard
  2. remove-branding-2-select-moodleSelect Site administration > Appearance > Themes > Formal white in the Settings on the left.
  3. remove-branding-3-never-moodle On the theme properties page, Select never from the Display credits to moodle.org box. Save changes.
  4. remove-branding-4-clear-cache-moodleNext, make sure the theme cache is cleared for the changes to show on the site. Go to Site administration > Appearance > Themes > Theme selector.

    Click Clear theme caches.


    remove-branding-5-without-moodle Now the Moodle brand logo will not display at the bottom of the theme any more.


Removing the Moodle brand logo through the code

remove-branding-6-afterburner-moodleAnother way to remove the Moodle branded link in the theme is to comment them out through the code on the server. An example of a theme that does not have the ability to remove the Moodle branded link at the bottom of the template is the Afterburner theme.

The image to the right shows the Moodle logo at the bottom of the Afterburner theme. This cannot be removed through the Moodle Site administrator. Because the option is not in the Moodle dashboard, the code will need to be edited on the server. Simply commenting out the line of code will cause the image to not display in the site.

Steps to edit the code

  1. Log into cPanel. Navigate to the theme in the file manager on the server. The file to edit is:

    theme/afterburner/layout/default.php

  2. remove-branding-7-foot-moodleNavigate to the lines where the footer is located.In this case its on line 117. Moodle will show where the footer begins with the following comment:
    <!-- START OF FOOTER -->
    The code to Comment out is highlighted in the image to the right.
  3. remove-branding-8-comment-moodle Comment the lines similar to the snapshot to the right. HTML comments have: <!-- (before the code) and --> (After the code). For example:
    <!--
    
    <p>Some Code here<p>
    
    -->
    

    Save the changes.


  4. Next, makes sure the theme cache is cleared for the changes to show on the site. Go to Site administration > Appearance > Themes > Theme selector.

    Click Clear theme caches.


    remove-branding-9-gone-moodle Now the Moodle brand logo will not display at the bottom of the Afterburner theme any more.


Congratulations, the link to Moodle at the bottom was removed from the theme. This concludes the article for Removing the Moodle branded logo from the bottom of a theme.

Continued Education in Course 107: Changing the Appearance of Moodle
You are viewing Section 5: Removing the branded Moodle image from a theme footer
Section 4: Manually installing a theme for Moodle 2.3
Section 6: Changing the default font in the Moodle Standard theme
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

n/a Points
2014-06-17 3:23 am

very nice.

n/a Points
2014-07-08 11:45 am
I removed the logo by commenting out the following PHP code found in the php files in the "layout" folder:
/* echo $OUTPUT->home_link(); */

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

2 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!