General developer forum

embed element in moodle

Picture of Kritika Sood
embed element in moodle

Hello All

I have a html file that contains some css and javascript . The Css has styling of a custom navigation bar and header.I want to wrap my moodle site in that html element so that the custom navigation bar and header appears as a part of the moodle site.

Please provide some way to make it work. 

Average of ratings: -
Picture of Mark Johnson
Re: embed element in moodle
Core developersParticularly helpful MoodlersPlugin developers

You'll need to create your own theme.  There is a guide to creating a theme based on Boost (the default theme).

You'll probably need to override the template header.mustache in your theme, which displays the page header and navbar.

If you need more help with this, there is a forum dedicated to Theme questions.

Average of ratings: -