June 2017
Beginner to intermediate
368 pages
8h 31m
English
The preceding CSS includes specifying two background images (icons) for our new buttons. There is a magnifying glass icon on the Description button and the Moodle icon on the course link button. The image files need to be copied into the /pix directory:

It is important to realize that Moodle preprocesses CSS files before they are served to the browser. This is why we don't specify an image URL but rather use the Moodle-specific image reference. For example, the magnifying glass icon on the Description button:
background: url([[pix:theme|overview]]) 10px 7px no-repeat #f3f3f3;
Read now
Unlock full access