Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
lunarnation

Adjusting size of Donation button in Mentor theme

Question

3 answers to this question

Recommended Posts

  • 0

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;
}

 

Share this post


Link to post
  • 0

@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>

Share this post


Link to post
  • 0

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;
}

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...