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-repeat:no-repeat;
  background-position:94% 50%;
  background-size:17%;
  text-align:left;}

Appreciate any help!

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.