Jump to content

How can I position text to overlap an image?

Recommended Posts

  • Replies 4
  • Views 726
  • Created
  • Last Reply
On 3/18/2021 at 4:04 PM, scholarsayze said:

Hey isensmith awesome fix thank you!!

I'll tweak the font color, but is there anyway to move the h1 text up a little so the 'HOODIES' text is away from the top line of the image?

I'm aiming more for the 2nd attached image.

Thank you!

position.png

text-2.png

Use this code

#block-yui_3_17_2_1_1615977006976_33050 h1 {
    position: absolute;
    z-index: 9;
    top: -10px;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.