I’m trying to create a child theme of the defaultManuscript theme (grandchild theme of the default theme) in OJS v3.1.2, but am facing an issue that is confounding me.
In the init() function of my BNZSEEManuscriptThemePlugin class, I have the following two lines:
$this->modifyStyle(‘stylesheet’, array(‘addLess’ => array(‘styles/variables.less’)));
The contents of my styles/variables.less file is as follows (just for testing):
For some reason though, this results in me seeing the default theme with a dark background; not the defaultManuscript theme with a dark background as I’d expect.
If I comment out the line with the modifyStyle command though, I see the defaultMansucript theme unchanged.
Not quite sure what I’m doing wrong here. Any help would be much appreciated.