Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Changing the color and shape of the Login button in the login widget.

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.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • July 6, 2018 at 9:04 pm #14865
    David B
    Participant

    I 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.php

    Step 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 #14866
    mbrsolution
    Moderator

    Hi, 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 #14870
    David B
    Participant

    https://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 #14875
    mbrsolution
    Moderator

    Hi, 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 #14877
    David B
    Participant

    That 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 #14879
    mbrsolution
    Moderator

    Hi 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

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy