Simple Membership Plugin › Forums › Simple Membership Plugin › Struggling with buttons
- This topic has 6 replies, 2 voices, and was last updated 6 years, 6 months ago by
Colemanballs.
-
AuthorPosts
-
May 26, 2020 at 6:42 pm #20322
Colemanballs
ParticipantJust starting installing the plugin and for some reason I can’t centre the button on the page – any ideas how I can change this?
Also, where do I add the shortcode to change the wording in the button?
Many thanks.
May 26, 2020 at 10:49 pm #20328mbrsolution
ModeratorHi,
Just starting installing the plugin and for some reason I can’t centre the button on the page – any ideas how I can change this?
Can you share the URL with the button.
Also, where do I add the shortcode to change the wording in the button?
Are you wanting to edit the button text? If yes, is this for paid or free registration.
Thank you
May 27, 2020 at 9:06 am #20338Colemanballs
ParticipantHere is the URL:
https://www.ffsfitness.co.uk/membership-join/
This is a free registration
Many thanks.
May 27, 2020 at 9:59 am #20339mbrsolution
ModeratorHi, thank you for providing more information.
To center your button please try the following CSS code.
.swpm-payment-button { text-align: center; }To change the text in the button, all you need to do is edit the string. Please check the following documentation edit-simple-membership-default-english-strings to help you further.
Let me know if you need more information or help.
Thank you
May 27, 2020 at 10:35 am #20340Colemanballs
ParticipantThank you for that – the button is now sorted.
Just need to get my head around editing strings!
May 27, 2020 at 11:10 am #20341Colemanballs
ParticipantI had a quick readthrough the link you sent me – but this seems to be about translating the text to another language, rather than changing the text inside the button.
Ideally I wanted to change ‘subscribe now’ to ‘personal training’
Thank you.
May 27, 2020 at 11:47 am #20342Colemanballs
ParticipantSorry found it – going back through your documentation:
Customizing the Button
The look and feel of the button will depend on your theme’s style/CSS.
You can use a custom image for your button to customize it. Simply upload your button image to the media library then specify the URL of the image in the “Button Image URL” field (by editing the button).
You can also customize the button text by specifying the value in the shortcode using the “button_text” parameter. Below is an example shortcode that uses “Join Now” as the payment button text:
[swpm_payment_button id=75 button_text=”Join Now”]
All sorted – thank you.
-
AuthorPosts
- You must be logged in to reply to this topic.