Style.html.twig not being loaded

Your software
My Mautic version is: 5.0.0
My PHP version is: PHP Version 8.0.28
My Database type and version is: 8.0.32-0ubuntu0.22.04.2

Your problem
I am creating a theme following the instructions from the oficial mautic post: Building a Theme, Step by Step
I want to style the form with CSS, and like the tutorial explains, you need to do it on the style.html.twig file (location: MauticFormBundle > Builder > style.html.twig), but somehow it is not being loaded and the CSS that i wrote doesn’t show up.

Steps I have tried to fix the problem:

  • I wrote CSS styles at the css/theme.css file and it loads on the form (should I use this css file instead?)

I am new to the Mautic community. If my post is not following the correct struture of a new post i’m sorry.

Hi, can you plz share your exact Mautc version?
Is it really Mautic 5?
Also: this is an old tutorial, I’m surprised you managed have the template shown at all.
Joey

Check this tutorial:

Hello Mister Joe.
Thanks alot for your time helping me out with this situation. My Mautic version is realy the v5.0.0.
If you could sir, I would like to share my zip file with you so you could check if everything is correct or if is realy a error of mine, or even a bug.

Mautic 5 is experimental today (2023-04-19). Use it in production at your own risk.
Sure you can PM me the zip, I’ll take a look.