I have been away for some years. Child style is new to me. I only know of template inheritanceI am on my mobile phone right now so I can't check, but AFAIK there is an article about building a child style in the knowledgebase
This is a nice solution that doesnt "take out" too much of the core style code.If you want, you can use the current template events to edit that portion of the header: overall_header_body_before and overall_header_headerbar_before.
BTW, I love your assumed variable and extra class

About this part of the code. Does it make any difference? I mean if the EXT "StockerHeader" isn't active the template events wouldn't load anyway?
Code:
{% set StockerHeader = true %}{% if StockerHeader %}
I guess that using php to add an extra class to an existing isn't possible. It would have made so many things more easy
Statistics: Posted by Stoker 4.0 — Wed Jan 29, 2025 2:26 am