Jump to content

Edit History

gorkij

gorkij

Hi group brain!

Now, I've been fiddling with making a child theme of "Classic" so that I don't have to modify the parent theme for every update:

 

parent: classic
name: rsl-classic
display-name: RSL Classic mods
version: 1.0.0
assets:
  use_parent_assets: true

(The simplest, as outlined in the docs)

To this I've copied assets/css/custom.css and theme.css
That's all the structure available. 

However, starting a child theme generates a few issues which I can reproduce on a second install: On the left, basic classic theme. On the right: child theme. Also missing the icon for "Online only"?

ps-header-ok.JPG.31f80f60a5ff91444cbf5a1bd3681f7b.JPGps-header-error.JPG.6d4f69a7b52e7b047305dd7638a6bef2.JPGps-oo-error.JPG.36f934de16e6b2e00e04d091652a8e6e.JPG

What am I missing? The child theme is to inherit all of the parent, correct? And that should include icons, right? 

Cache has been cleared, and I'm running a clean browser for testing purposes.

[Solved] Oh, this is a wonderfully weird thing ; I was reflecting on the clutter of files in the themes/classic/assets/css folder - for some untold reason the theme generates these wee images there instead of in the /var/cache folder - where I'd expect them to be. 

And theme.css seems hardcoded to read them from the assets/css folder? Seriously team? Why?

gorkij

gorkij

Hi group brain!

Now, I've been fiddling with making a child theme of "Classic" so that I don't have to modify the parent theme for every update:

 

parent: classic
name: rsl-classic
display-name: RSL Classic mods
version: 1.0.0
assets:
  use_parent_assets: true

(The simplest, as outlined in the docs)

To this I've copied assets/css/custom.css and theme.css
That's all the structure available. 

However, starting a child theme generates a few issues which I can reproduce on a second install: On the left, basic classic theme. On the right: child theme. Also missing the icon for "Online only"?

ps-header-ok.JPG.31f80f60a5ff91444cbf5a1bd3681f7b.JPGps-header-error.JPG.6d4f69a7b52e7b047305dd7638a6bef2.JPGps-oo-error.JPG.36f934de16e6b2e00e04d091652a8e6e.JPG

What am I missing? The child theme is to inherit all of the parent, correct? And that should include icons, right? 

Cache has been cleared, and I'm running a clean browser for testing purposes.

Also; is there a reason for modules being reenabled/disabled when switching themes?

×
×
  • Create New...