Book Image

Moodle 1.9 Theme Design: Beginner's Guide

Book Image

Moodle 1.9 Theme Design: Beginner's Guide

Overview of this book

Moodle is a highly extensible virtual learning environment and is used to deliver online teaching and training materials. Theming is one of the main features of Moodle that can be used to customize your online courses and make them look exactly how you want them to. If you have been looking for a book that will help you develop Moodle Themes that you are proud of, and that your students would enjoy, then this is the book for you.This book will show you how to create themes for Moodle, change pre-installed Moodle themes, and download new themes from various resources on the Internet. It is filled with suggestions and examples for adapting classroom activities to the Virtual Learning Environment.This book starts off by introducing Moodle, explaining what it is, how it works, and what tools you might need to create a stunning Moodle theme. It then moves on to show you in detailed steps how to choose and change a Moodle theme, and explains what Moodle themes are and how they work. It shows you how to change an existing theme and test the changes that you have made.The latter half of this book will start you off on the road to creating your own themes from scratch. It provides detailed instructions to guide you through the stages of creating a stunning theme for your Moodle site. From planning theme creation, through to the slicing and dicing, and more advanced Moodle theming processes, this book will give you step-by-step instructions to create your own Moodle theme.
Table of Contents (18 chapters)
Moodle 1.9 Theme Design
Credits
About the Author
About the Reviewer
Preface
Glossary of Useful Terms and Acronyms

Time for action—reducing the rounded content corners


  1. 1. Open your Moodle theme, and using Firebug hover your mouse over one of the block footers. Make sure that you have selected the very outside of it.

  2. 2. Copy the .sideblock .content element at the top of the right-hand CSS window.

  3. 3. Paste this copied code after the .sideblock .header element in your user_styles.css file.

  4. 4. Change the following lines of CSS code from:

    -moz-border-radius-bottomleft:20px;
    -moz-border-radius-bottomright:20px;
    

    to:

    -moz-border-radius-bottomleft:5px;
    -moz-border-radius-bottomright:5px;
    

    This reduces the degree to which the lower-left and lower-right corners are rounded.

  5. 5. Save the user_styles.css file, and then refresh the browser window.

Now your blocks are looking much more like the ones that you created in the graphic mockup created in Chapter 6.

What just happened?

In this exercise, you simply copied the sideblock .content CSS to your user_styles.css file, and changed the -moz-border-radius from 20px to 5px...