How to Remove Moodle Logos From Footers

remove moodle logos hero image

In most Moodle themes, the Moodle logo is shown at the bottom of each page, also known as the footer section. When making a Moodle site for a college or another professional setting, it is possible to remove Moodle logos from a footer section via the theme. This can be useful for rebranding a website or simply adding custom flair to your Moodle environment. Depending on the type of theme, the Moodle logo can be removed either through the Moodle dashboard or through the code on the server. In this article, we will explain how to remove the Moodle branded logo from two different themes: Formal White (via the dashboard) and Afterburner (via code edits).

Topics Include:

How to Remove Moodle Logos in the Footer via Dashboard

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 below displays what the theme looks like with the Moodle logo at the bottom of the page. Reasons for removing the logo range from aesthetic preference to corporate branding strategies.

remove-branding-1-with-moodle

Accessing Theme Settings in Moodle Dashboard

  1. First, log into the Moodle Dashboard
  2. Once in the dashboard, select Site administration > Appearance > Themes > Formal white in the Settings menu on the left.

    remove-moodle-logos-from-footer-2
  3. On the next page, select Never from the Display credits to moodle.org box. Then click Save changes.

    remove-moodle-logos-3
  4. Next, make sure the theme cache is cleared to ensure that the changes will be reflected on the live site. Go to Site administration > Appearance > Themes > Theme selector. Click Clear theme caches.

    remove-branding-4-clear-cache-moodle

Congratulations, you have successfully removed the Moodle logo from the footer!

remove moodle logos 3

How to Remove Moodle Logos via Code Edits

 

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

remove-branding-6-afterburner-moodle

The above image 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 adding a comment to the line of code will prevent the logo from displaying on the site.

How to Edit Theme Code

  1. First, log into cPanel. Once logged in, navigate to the theme files via the cPanel file manager. The file to edit is:

    theme/afterburner/layout/default.php

    remove-moodle-logos-7
  2. Once editing the file, navigate 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 below.

    remove moodle logos-8
  3. Next you will need to add comments to the lines as seen in the above screenshot. To add a comment on a line of code, type “<!–” 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.

Congratulations, you have successfully removed the Moodle logo via code!

remove moodle logos 9
Trust your website to an industry leader in website hosting. InMotion Hosting offers secure web hosting with 99.99% uptime, 24/7/365 technical support, and 100% money-back guarantee.
InMotion Hosting Contributor
InMotion Hosting Contributor Content Writer

InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

More Articles by InMotion Hosting

0 thoughts on “How to Remove Moodle Logos From Footers

  1. I don’t follow the instructions in moodle 2.9 I don’t see the formal white in the admin under themes and in the file manager I don’t see the file Themes/afterburner

    1. Hello PJ,

      Those two themes are not required, but were used for demonstration purposes.

      Kindest Regards,
      Scott M

  2. Finding the code is sometimes hard for people, but this is a nice way of getting rid of the other things like the login info. 

    1. I removed the logo by commenting out the following PHP code found in the php files in the “layout” folder:
      /* echo $OUTPUT->home_link(); */

Was this article helpful? Join the conversation!