Logo & CSS Images Not Showing in Inherited Theme (delivernext, Grav 1.8 beta4)

Using Grav 1.8 beta4 with delivernext theme (v1.1.1). Created inherited theme my-delivery-override using Grav’s built-in script (bin/plugin devtools new-theme) to customize templates but keep logo and add custom CSS, images and other settings which were set in the theme.

Setup:

  • my-delivery-override: Inheritance via user/themes/my-delivery-override/my-delivery-override.yaml:
    streams:
    schemes:
    theme:
    type: ReadOnlyStream
    prefixes:
    ‘’:
    - ‘user://themes/my-delivery-override’
    - ‘user://themes/delivernext’

  • Custom CSS: user/themes/my-delivery-override/assets/css/custom.css with background: url(‘/images/languages/code.png’) (image in user/images/languages/).

Issues:

  1. Logo: Disappears in my-delivery-override. Probably other assets too, but have not tested more. Copied logo settings to user/config/themes/my-delivery-override.yaml and image to user/themes/my-delivery-override/images/, no luck.
  2. CSS Images: Background images don’t load. Firefox console errors:
    Security Error: Content at https://grav-2025.test/ may not load moz-extension://b26acb47-90de-481e-89f2-c9dda63befd7/images/languages/code.png
    while this does work in old Grav 1.7 overridden theme

Tried:

  • Copied configs, blueprints, images.
  • Cleared cache (bin/grav cache).

Questions:

  • Why doesn’t my-delivery-override inherit logo settings? Or it relates to Grav itself?
  • How to fix it properly?
  • Can’t remember exactly, but maybe, a few years ago, I had the same problem with other templates…

Or is this a Grav 1.8 beta4 bug? Help appreciated!

Please, open an issue in GitHub · Where software is built

Hello,
done :slight_smile:
Issue copied

You have an answer in the DeliverNext theme repo