Mautic theme background

  1. last year

    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?

  2. escopecz

    14 Dec 2015 Administrator

    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.

  3. Here is the code to create textarea inside text area

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <title>Test Embedded textareas</title>

    <style type="text/css">
    #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; }



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

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



  4. escopecz

    15 Dec 2015 Administrator

    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.


or Sign Up to reply!