Jump to content

How do I position an image to float over my website?

Recommended Posts

Site URL: https://madelainesanta.com

Hello,

I am trying to position a small graphic to float over my website on the bottom right. I pasted the HTML code into a section, but the image is confined to the boundaries of the section  and can't be positioned where I want it. I want it to look like this (see attachment). 

Current code is:

<IMG STYLE="position:absolute; TOP:10px; LEFT:500px; WIDTH:150px; HEIGHT:150px" src="https://i.ibb.co/sHGGxCL/clickhere-01.png" class="rotate" a href="mailto:hi@madelainesanta.com"> 

I appreciate your help in advance!

Screen Shot 2020-05-15 at 7.20.42 PM.png

Link to comment
  • Replies 4
  • Created
  • Last Reply

Hi, the code I'm currently using is:

<center><a href="mailto:hi@madelainesanta.com" target="_blank"><img class="rotate" src="https://i.ibb.co/sHGGxCL/clickhere-01.png" alt="Email Madelaine" caption="Email Madelaine" height="150px"></a></center>

and my website is www.madelainesanta.com

Link to comment

Add to Home > Design > Custom CSS

div#block-yui_3_17_2_1_1589600761997_4730 center {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
}
On 5/16/2020 at 8:52 PM, MadelaineSanta said:

Hi, the code I'm currently using is:

<center><a href="mailto:hi@madelainesanta.com" target="_blank"><img class="rotate" src="https://i.ibb.co/sHGGxCL/clickhere-01.png" alt="Email Madelaine" caption="Email Madelaine" height="150px"></a></center>

and my website is www.madelainesanta.com

 

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.