moodle-an-hochschulen / moodle-theme_boost_union_child

Boost Union Child is a boilerplate for enhancing Boost Union with custom or local functionality
GNU General Public License v3.0
4 stars 2 forks source link

background setting not functional #5

Open bytesparrow opened 5 months ago

bytesparrow commented 5 months ago

Hi, first of all a big thanks for the theme Boost Union. Providing child-theme is furthermore a really great service!

I've had one issue with it regarding the background image:

I propose the following solution: in lib.php/theme_boost_union_child_get_extra_scss change line 112 to

$scss .= theme_config::load('boost_union')->get_extra_scss_code();

set mode to duplicate

Similar in line 74: change it to

$scss .= theme_config::load('boost_union')->get_pre_scss_code()

The site background will work now.

Why?

Maybe it should be pointed out, that the site background does not work in inheritance mode