Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Moodle Theme Development
  • Table Of Contents Toc
  • Feedback & Rating feedback
Moodle Theme Development

Moodle Theme Development

By : Silvina Paola Hillar
1 (1)
close
close
Moodle Theme Development

Moodle Theme Development

1 (1)
By: Silvina Paola Hillar

Overview of this book

Theming is one of the main features of Moodle, and it can be used to customize your online courses and make them look exactly how you want them to,according to your target audience. If you have been looking for a book that will help you develop Moodle themes that you are proud of, and that your students will enjoy, then this is the book for you. We start off by introducing Moodle 3 and explaining what it is, how it works, and what tools you might need to create a stunning Moodle theme. We then show you how to choose and change the pre-installed Moodle themes in detailed steps, and explain what Moodle themes are and how they work. Next, we show you how to change an existing theme and test the changes that you have made. You can not only plan the customization of theme, but also tailor it using advanced Moodle theming processes; this book is your one-stop guide to creating your own personalized Moodle 3 theme.
Table of Contents (12 chapters)
close
close

Customizing the height and width of an element with CSS


In previous chapters, we have learned how to add a logo to our Moodle course. In this chapter, we will learn how to customize the logo and how to change the number of pixels so that it fits the right height, by customizing our CSS.

Furthermore, we will use an online editor to understand how CSS works with an image and how the number of pixels varies. We can control the height and width of an element using CSS dimension properties. The height and width are automatically set to auto, that is to say, it is calculated by default by the browser.

In this case, we will change the default dimensions of the element. Therefore, these are the steps that we need to follow:

  1. Enter http://www.w3schools.com/css/default.asp .

  2. In the left-hand margin, click on CSS Height/Width , as shown in the following screenshot:

  3. Read the information provided about height and width. Click on Try it Yourself, as shown in the following screenshot:

  4. A new tab appears...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Moodle Theme Development
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon