My goal is to remove the “Blog” and “Donate” buttons (and pages) linked in the site footer, and edit the “About” and “Contact” pages.
I’ve looked into Comprehensive Theming, which seems like the right solution. Using this solution, I’ve copied the
contact.html files from
but I don’t know where to get the correct HTML file(s) to remove the “Blog” and “Donate” buttons.
You are looking at the right solution to override Open edX HTML pages.
Just like you have added
contact.html pages in your theme directory, you can add
footer.html file in your theme directory. And then remove unnecessary content from that HTML in your themed file.
I hope this will help!
Ah, I see now.
The solution was to modify the
footer.html page, and also create the following
config.yml in the custom theme directory:
- title: "About"
- title: "Contact"
The following steps are one’s that I initially missed: I needed to stop the services, run the
tutor config render command with the
--extra-config flag set to the
config.yml file, then rebuild tutor and use the
tutor local settheme command on my custom theme.