[Resolved] Container underneath container in GP element?

Home Forums Support [Resolved] Container underneath container in GP element?

Home Forums Support Container underneath container in GP element?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2384423
    William

    Hi there,

    Is it possible to have a container underneath a container? Not sure if this is the right thing to do, but I am looking to add an SVG in the area on the image:

    What would be the best way to do this?

    Kind regards,

    Will

    #2384438
    David
    Staff
    Customer Support

    Hi there,

    it is possible with CSS.

    1. Select that parent container and:

    1.1 give it an Advanced > Additional CSS class of: relative-parent
    1.2 set the Spacing > Inner Container Z-index to 10

    2. Now add your new container inside the parent container and give it a class of: absolute-child

    3. Add this CSS to your site:

    .relative-parent {
        position: relative;
    }
    .absolute-child {
        position: absolute;
        top: 40px;
        left: 40px;
    }

    You can adjust the top and left` values. Note: 0 and 0 would position it in the very top left hand corner.

    #2384478
    William

    Amazing you guys are brilliant thank you!

    #2385111
    David
    Staff
    Customer Support

    Glad we can be of help!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.