Jump to content

Adjusting Z-Index To Move Photo To Front Of Section

Recommended Posts

Site URL: https://groundhog-pentagon-j2aj.squarespace.com/

I am currently trying to move two different photos in two different sections to the front of the section.


Here is the code that I currently have for one of the photos and it is the same for the other as well besides the block id

  transform: translateY (200%);
   position: absolute;
      z-index: 5 !important;
  width: 300px

I've tried every z-index # and it is still not working I dont' understand what I am doing wrong. I would like the bottom photo in the first attached picture to be on top of the blue background as well as the green.


Second photo I would like to bring to the front as well. Any help is appreciated. 



Screen Shot 2022-03-08 at 7.38.15 PM.png

Screen Shot 2022-03-08 at 7.38.26 PM.png

Link to comment
  • Replies 1
  • Views 561
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.