Archived topic
Container underneath container in GP element?
3 replies · Started by William on October 24, 2022
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
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.
Amazing you guys are brilliant thank you!
Glad we can be of help!