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
  • Views 210
  • 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?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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.