Mautic Community Forums

Mautic theme background

I’ve got problem with creating full screen background using a slot. User need to change the background for each landing page.

What is the best way to create full screen background using a slot.



Also, can I create such thing like slot inside slot?

I’ve got problem with creating full screen background using a slot. User need to change the background for each landing page.
What is the best way to create full screen background using a slot.

Also, can I create such thing like slot inside slot?

I’d suggest to create a new slot type for it. I can’t think of any other solution.

Slot inside slot? Maybe try to create HTML textarea inside HTML textarea. If that would work, I think the slot inside slot could work as well.

Here is the code to create textarea inside text area

Test Embedded textareas #outside { position:absolute; top:0; left:0; z-index:0; width:400px; height:400px } #inside { position:absolute; top:100px; left:100px; z-index:1; width:200px; height:200px; }
<div>

    <textarea id="outside" rows="10" cols="80">
        Outside Textarea
    </textarea>

    <textarea id="inside" rows="5" cols="60">
        Inside Textarea
    </textarea>

</div>

Well, that is one textarea below another textarea, but if that is what you need and if you don’t mind it is made by absolute positioning, you can use the same for the slots.