Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Moodle Theme Development

You're reading from   Moodle Theme Development Build customized themes to make your Moodle courses engaging and interactive

Arrow left icon
Product type Paperback
Published in Dec 2016
Publisher
ISBN-13 9781786463210
Length 302 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Silvina Paola Hillar Silvina Paola Hillar
Author Profile Icon Silvina Paola Hillar
Silvina Paola Hillar
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. An Introduction to Moodle 3 and MoodleCloud 2. Themes in Moodle 3 on-premises and MoodleCloud FREE CHAPTER 3. Setting Up Logos in Moodle Themes 4. Customizing the Header and the Footer 5. Customizing Elements with CSS 6. Locating, Editing, and Using New Icons 7. Optimizing Themes for Mobile Devices 8. Exploring Layouts 9. Course Formats 10. Extending Moodle Theming to Specific Sections A. Test Your Knowledge Answers

Locating the icon file in the server


It is time to locate the icon file in the server in order to see the type of file, as well as where to save the new icon that we want to use afterwards. In order to use a new icon, we need to replace the one that is being used.

In the previous tip, we mentioned that we would change the quiz icon file therefore, we need to locate that icon file in our Moodle server. Follow these steps:

  1. Locate where Moodle is installed, as shown in the following screenshot:

  2. Within the server, click on Moodle\mod\quiz\pix.

  3. The following files appear within the pix folder, as shown in the following screenshot:

Tip

We have just located the file that we need to customize. There are two files showing the same image with a different file extension. We need to modify the .svg as well as the .png since some browsers work with .png files while others work with .svg ones. If we do not change both files, the icon will not change in the Moodle course.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime