Jump to content

adding an image / badge to site header (7.0)

Recommended Posts

Site URL: https://www.hi-noon.net

Hi everyone!

I'm trying to insert a clickable sticker / badge (a .gif on transparent background) into the upper right corner of the website (in the header). Please see the image attached.

After clicking the image it would link to another page. 

Ideally it would only appear on the homepage, however if not possible it can be visible on all pages.

Any help would be hugely appreciated!

Thank you

Screenshot 2020-04-21 at 16.58.01.png

Link to comment
  • Replies 3
  • Views 990
  • Created
  • Last Reply

In footer add Code Block > paste this code

<a href="https://beaverhero.com" target="_blank" class="t-fixed"><img src="https://beaverhero.com/wp-content/uploads/2019/11/List-71.png" width="50" height="50"/></a>
<style>
  .t-fixed {
  	position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
    display: block;
  }
</style>

 

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
  • 6 months later...
On 10/29/2020 at 10:48 PM, laurenrubenlaw said:

Hello! I am having issues with this on the mobile. The badges are all funky when you switch to mobile. Is there a way to fix this?

Can you share site url? We can check easier

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.