Jump to content

How can I move an image on top of a division transition?

Go to solution Solved by Ziggy,

Recommended Posts

If you place the image block below, you can use a negative margin to move it up to overlap.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

This has worked, but there is still some kind of layering/z-index issue that is preventing the image from being on top of the division.

I've tried using the built-in 'move forward/move backward,' but my image is already at the front. 

I've also tried adding a z-index to the same # that I added the neg margin to.

Link to comment
  • Solution

Try this CSS code:

@media only screen and (min-width: 768px) {
  .fe-block-yui_3_17_2_1_1705673906581_5462 {
    margin-top: -220px;
    z-index: 999;
  }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
3 minutes ago, BillChesney said:

Yes. If you toss an "!important" on that z-index, that does the trick. 

It seems a little difficult to manage location exactly how I'd like it, but I think if I make different declorations for a few different sizes, it'll work just fine. THANKS!

Sounds like a plan! Nice one!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

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.