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. Secure web hosting with InMotion Hosting and enjoy 99.99% uptime, 24/7/365 technical support, and risk-free money-back guarantee. 

AK
Alyssa Kordek Content Writer I

Alyssa started working for InMotion Hosting in 2015 as a member of the Technical Support team. Before being promoted to Technical Writer, Alyssa developed expertise in the fields of server hardware, Linux operating systems, cPanel, and WordPress. She now works to produce quality technical content featuring cutting-edge topics such as machine learning, data center infrastructure, and graphics card technology.

More Articles by Alyssa

Thoughts on “How to Remove Moodle Logos From Footers

Was this article helpful? Let us know!