stom66 / grav-theme-t2b5

Bootstrap 5 Grav Theme
MIT License
2 stars 1 forks source link

Template override for child theme only works when template in parent theme is deleted #1

Open gitbitpi opened 8 months ago

gitbitpi commented 8 months ago

Hi, first, thanks for this theme! I created a child theme for your theme but the template override is not working. Only if i delete the template in the parent theme, all changes are accepted. Can you give me a hint, what might be wrong steps I did Inheriting manually: https://learn.getgrav.org/17/themes/customization#inheriting-manually copy template: from user\themes\t2b5\templates\default.html.twiguser\themes\myb5\templates\default.html.twig changed <div class="container"><div class="container-fluid"> clear all cache

stom66 commented 8 months ago

Hi gitbitpi,

Thanks for using the theme. I don't use Grav myself any more, and this was about as far as I got with learning templating in it. I'm afraid I don't really understand how template inheritance works for it sufficiently well to help you.

Possibly just fork the entire theme and make your changes to it, and then only use that theme? I'm sorry I can't help more.

gitbitpi commented 8 months ago

Hi stom66, thanks very much for your quick answer. Probably thats the best solution. :-)