Hi marpe
As I understand, you want to override the layout for the Custom HTML module, right? This layout is copied from what template, please?
Can you please share the website where you get the issue? We need to check the layout you want to override to see if there is issue.
Best regards.