Hi! I am really unsure on how to make the text visible and how to make the frame image appear on top of the slide images because right now I can see that the images are in front. I tried placing this bit (which is creating the frame), on container:before and after so I could change z-index but nothing happened and the text just won’t show, I wanted to place it below the frame.
If your container has a z-index other than auto then in css terms it becomes ‘atomic’ which means that any content in that element cannot go beneath its background and borders. if you set the container to auto z-index then you can use a negative z-index on the children and they will sit beneath its borders.
z-index:-1!important;/* the !important is just for testing as you use js to set this.
However you will need to change your js as you are setting the z-index dynamically and your z-indexes of 1 will need to be -3 and your z-index of 1 will be -1 to keep the same stacking levels as before.
Your title isn’t showing because you have the outer container set to 620px but your inner container is set to 650px (you can’t put something bigger inside something smaller). Also don’t forget your outer has 5vw borders which makes the space inside outer 10vw smaller than you think. The space inside will be 620px - 10vw. You need to make sure the internal elements are no larger than that.