You shouldn't need to do that. You ought to be using the 'git config' command.
Howard Miller
Posts made by Howard Miller
It's actually a good point. I don't know much about course formats, so I just assumed that they all push stuff into the body tag. I should check....
EDIT:
It appears they do. So, you get the class 'format-topics', 'format-grid' or whatever in the body tag.
I have a (local) plugin that generates a conventional page with all the usual require_login() and $PAGE stuff. However, the CSS for the parent course's format is causing me problems. It's made a load of changes to Bootstrap classes, so if that format has been selected in the course it's ruining the look of my page.
format-xxxx is getting injected into the body tags class which is triggering all sorts of css rules that I don't want.
Can anybody think of a way to prevent this? Doesn't need to be nice
I don't think it hurts, although I'm unsure how much difference it will make.