Jump to content

Adding images to Buttons

Recommended Posts

Site URL: https://chiton-tarpon-t78k.squarespace.com/

I'm trying to add a mini image to the right of  to my header button text. I'm having issues formatting the text to the left. Also, whenever I refresh the page, the image seems to disappear. 

Here is the CSS I was using:

.white .sqs-block-button-element, .white .image-button a, .white .header-actions .btn {
  background-image: url(https://static1.squarespace.com/static/5ea25216c82a445ce00182bc/t/5ecdcb02410a777ae78e6987/1590545154904/button_image.png);
  background-position:94% 50%;

Appreciate any help!

Link to comment
  • Replies 2
  • Views 953
  • Created
  • Last Reply


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.