Jump to content

newsletter button as a transparent png image

Recommended Posts

super new to this and got stuck on something

I am trying to do custom css for the newsletter-form-button in order to get a transparent image displayed instead of the button, but obviously keep the sqs built in functionality 

.newsletter-form-button {
  background-color:transparent!important;
  background-image:url('myimageurl.png');
  background-position:center;
  background-size:contain;
  background-repeat:no-repeat;
}

firstly I am not quite sure if the class I am using suffices, however all the styling seems to be working fine apart from the background color removal

my question:

how do I properly remove the background color and how should I approach the resizing of the button? (it was not  working when I tried using this class)

 

I really appreciate the help ❤️

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

1 hour ago, 736861646f77 said:

super new to this and got stuck on something

I am trying to do custom css for the newsletter-form-button in order to get a transparent image displayed instead of the button, but obviously keep the sqs built in functionality 

.newsletter-form-button {
  background-color:transparent!important;
  background-image:url('myimageurl.png');
  background-position:center;
  background-size:contain;
  background-repeat:no-repeat;
}

firstly I am not quite sure if the class I am using suffices, however all the styling seems to be working fine apart from the background color removal

my question:

how do I properly remove the background color and how should I approach the resizing of the button? (it was not  working when I tried using this class)

 

I really appreciate the help ❤️

Can you share your site with the protected password so I can take a look?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

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.