Jump to content

Adjusting size of Donation button in Mentor theme

Recommended Posts

Adding this to Design > Custom CSS should get you close. You can play around with the font size.

.donation-block .sqs-donate-button {
  font-size: 20px;
  background-color: #000 !important;
}

 

Link to comment
  • 2 weeks later...

@christyprice what if I just want to add more padding and make the width 100%? I don't want to change the font size.

I tried using the following below but it didn't work. The only thing that worked was the font size.

<style>
  .donation-block .sqs-donate-button 
  {
  font-size: 13px;
  width: 100%;
  padding: 13px 0px 15px;
  background-color: #ffa3bd !important;
  
}
</style>

Link to comment

Hi @mschenese. First, make sure you are only using the <style></style> tags if you are putting the code in a page code injection. If you are using it in Design > Custom CSS you would NOT use the style HTML tag. 

If you are trying to override other property rules, you should use !important. So something like this added to Design > Custom CSS and you can play around with the values. 

.donation-block .sqs-donate-button {
	font-size: 20px !important;
	width: 100% !important;
	padding: 23px 0px 25px !important;
	background-color: #ffa3bd !important;
}

 

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.