Simple Membership Plugin › Forums › Simple Membership Plugin › Changing the color and shape of the Login button in the login widget.
- This topic has 5 replies, 2 voices, and was last updated 8 years, 5 months ago by
mbrsolution.
-
AuthorPosts
-
July 6, 2018 at 9:04 pm #14865
David B
ParticipantI cannot find a setting to change the background color or shape of the Login button on the login widget. I have seen some related posts using CSS tweaks, but the code in the two .php files do not seem to control the buttons.
So the custom template files will be in the following directory:
wp-content/themes/<your-theme>/simple-membership/login.php
wp-content/themes/<your-theme>/simple-membership/loggedin.phpStep 4) Now you can customize the template files that you uploaded inside your theme folder (without having to modify the files in the core plugin).
July 7, 2018 at 5:52 am #14866mbrsolution
ModeratorHi, can you also share a screen capture pointing to the area you would like to change. Also maybe even share a link to your site showing the login widget.
Thank you
July 7, 2018 at 11:40 am #14870David B
Participanthttps://www.uppercaptivacivicassociation.org/
Editing the Login button background and text color to match the one under Email Us (theme standard) is the goal. The login button and Login Widget is in the rightmost column of the second row of this main page.
July 7, 2018 at 11:12 pm #14875mbrsolution
ModeratorHi, please try the following code. What I did is checked your settings via Firefox Web Developer tool. Then I selected all the CSS settings for the Send button and tested them in the Login button area.
.swpm-login-form-submit { border-color: #16415d; background-color: #2A7BAF; fill: #2A7BAF; background-repeat: no-repeat; background-image: none; color: #ffffff; text-shadow: 1px 1px 1px #03070a; padding-left: 14px; padding-right: 14px; padding-top: 8px; padding-bottom: 8px; display: inline-block; line-height: 1 !important; border-style: solid; border-width: 1px; border-radius: 3px; }Regards
July 8, 2018 at 6:35 pm #14877David B
ParticipantThat worked for rendering on my desktop, but it renders a different shape and color for mobile devices. The email Send button looks the same using mobile, but the Login button changes. Is there a separate set of settings for mobile for the button?
July 8, 2018 at 10:16 pm #14879mbrsolution
ModeratorHi David, I tested your site in my mobile phone and it displays correctly for me. Make sure you clear your mobile device browser cache, then carry out another test.
Kind regards
-
AuthorPosts
- You must be logged in to reply to this topic.