- This topic has 3 replies, 2 voices, and was last updated 11 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Customize button using CSS
Hi,
I search on this forum about how customize buy buttn (swpm_payment_button) and you write to use Custom CSS plugin, but I don’t understand what is the class to modify to change aspect buttn…. (swpm_payment_button, swpm_payment_button or other)?
Thanks in advance.
Hi what are you trying to change about the button?
The following swpm_payment_button is the class.
Using the above mentioned custom css plugin is one way to achieve this. Once you let me know what you are trying to achieve I will be able to provide more information.
Can you also share where did you find the information about how to customize the button in this forum?
Thank you
Hi, I found infomation on these links:
https://simple-membership-plugin.com/?s=custom+button
https://simple-membership-plugin.com/forums/topic/modifying-fonts-and-buttons/
I would change the dafault layout of buttons, from Btn1 to Btn2 (please see http://www.trading4sniper.com/join-us-example/ for example)
I try to define the following, but change nothing:
.swpm_payment_button {
width: 10em;
padding: .5em;
color: #ffffff;
text-shadow: 1px 1px 1px #000;
border: solid thin #882d13;
-webkit-border-radius: .7em;
-moz-border-radius: .7em;
border-radius: .7em;
-webkit-box-shadow: 2px 2px 3px #999;
box-shadow: 2px 2px 2px #bbb;
background-color: #ce401c;
background-image: -webkit-gradient(linear, left top, left bottom,
from(#e9ede8), to(#ce401c),color-stop(0.4, #8c1b0b));
}
Thank you.
Hi to achieve what you want you need to use the following code, which is from Btn2.
.mybutton {
background-color: #ce401c;
border: thin solid #882d13;
border-radius: 0.7em;
box-shadow: 2px 2px 2px #bbb;
color: #ffffff;
padding: 0.5em;
text-shadow: 1px 1px 1px #000;
width: 6em;
}