16 theme customization - theme-inheritance

Hello,

I try to understand something, as I try to create a inherited theme from quark.

16/themes/customization#theme-inheritance

1/ fresh install with quark (Install from ZIP package)

2/ Theme Inheritance : my-theme
(bin/plugin devtools new-theme)
inheritance

3/ user/config/system.yaml
pages:
theme: my-theme

Now my-theme is activated, but :

  • In the navigator, the width of the home page change it takes all the width of the screen now
  • If I add pages in a new folder, the dropdown menu appear but I can’t be fly over

I believed, since I didn’t change anything, everything would be like in Quark, but it’s not true. Why my new theme is doing this ?
Did I miss something ?

Then, if I change back to quark:
3/ user/config/system.yaml
pages:
theme: quark

Everything is normal, but it’s not my-theme.

Thank’s again

@thgr, It looks like you forgot step 3 from the docs in which you copy Quark’s config from /themes/quark/quark.yaml to the top of /themes/my-theme/my-theme.yaml :

enabled: true
production-mode: true
grid-size: grid-lg
header-fixed: true
header-animated: true
header-dark: false
header-transparent: false
sticky-footer: true
blog-page: '/blog'
spectre:
  exp: false
  icons: false
  
streams:
 schemes:
   theme:
     type: ReadOnlyStream
     prefixes:
       '':
         - user/themes/my-theme
         - user/themes/quark

Yes, my-theme’s configuration file my-theme.yaml was not good. Thanks.