June 2017
Beginner to intermediate
368 pages
8h 31m
English
Earlier in this chapter, we saw how a theme can override a plugin renderer. Overriding a template is simple. Firstly, create a new folder in our theme called templates and, within that, a folder called block_courses_available. Simply create a new template of the same name with the required styling in the theme:

Next, implement a new template. In the following example, we are enhancing the course summary with an icon:
<div class="block_courses_available_overview_resilience"> <div class="box generalbox summaryinfo"> <div class="summarycontainer"> <div class="overviewicon"> {{# pix }} f/text-72, core, course summary ...Read now
Unlock full access