AE Connect: Basic CSS Styling

AE Connect is designed to be flexible and can be styled to match your website and branding. There are a few ways to customize the look and feel of your sign-up and login forms. One of those ways is using CSS. Here are a few examples of basic customization using CSS:


Sign-Up Form

Social Sign-Up Links


Example: Basic CSS styling of sign-up form

By assigning a CSS class to the form and submit button, you can style it using CSS. Here’s an example that customizes the form fields and submit button.


  1. Adjust the HTML of the form to add CSS classes:

    <form id="email-signup" data-ae-register-form="email" action="https://myfairsharedev.wpenginepowered.com/thank-you/" method="POST">
    <input type="text" placeholder="Name" name="firstname" required>
    <br>
    <br>
        <input type="text" placeholder="Email" name="email" required>
    <br>
    <br>
      <input type="password" placeholder="Password" id="psw" name="password">
    <br>
     <br>
     <p style= "color:#8f8f8f" ><em>By creating an account, you agree to the contest terms and conditions and our <a href="https://myfairshare.io/privacy-policy/">privacy policy.</a></em></p>
    <button type="submit" class="signupbtn">Sign Up</button>
    </form>


  2. To add CSS in wordpress, click the View Page button in the upper right.







  3. Select Customize from the top menu.





  4. Select Additional CSS from the side navigation. Any changes you make to the CSS here will be previewed real-time on the page.




  5. Here’s the CSS:


    /* Form and input fields */
    
      input[type=text], input[type=password] {
    
      padding: 15px;
    
      margin: 5px 0 22px 0;
    
      border-width: 1px 1px 1px 1px;
    
      border-color: #e4e2ed;
    
      border-radius:10px;
    
      background: #ffffff;
    
    }
    
    
    
    /*Submit button style*/
    
    .submitButton{
    
      color: #ffffff;
    
    background-color: #bc1d52;
    
    border-style:none;
    
    border-radius:10px;
    
    padding: 10px 18px 10px 18px;
    
    font-family:"lalezar";
    
    font-size:24px;
    
      margin-top:20px;
    
      cursor:pointer;
    
    }
    
    .submitButton:hover{
    
      background-color:#a41746;
    
    }


  6. And here’s what it looks like on the frontend:





By assigning a CSS class to the social sign-up link, you can style it using CSS. Here’s a basic example that adds the Discord and Spotify logos and colors, as well as a color change with mouse hover:

  1. Adjust the HTML of the links to add CSS classes:

    <p><a href="#" class="discordbtn" data-ae-register-link="discord"><img src="https://myfairshare.io/wp-content/uploads/2024/03/Discord-Logo-White.png"  style="width: 30px; vertical-align:bottom; margin-right:20px">SIGN UP WITH DISCORD</a>
    <br>
    <br>
    </p>
    <p><a href="#" class="spotifybtn" data-ae-register-link="spotify""><img src="https://myfairshare.io/wp-content/uploads/2024/03/Spotify_Icon_RGB_White.png"  style="width: 30px; vertical-align:bottom; margin-right:20px">SIGN UP WITH SPOTIFY</a></p>


  1. To add CSS in Wordpress, click the View Page button in the upper right.




  2. Select Customize from the top menu.





  3. Select Additional CSS from the side navigation. Any changes you make to the CSS here will be previewed real-time on the page.




  4. Here’s the CSS:


    .discordbtn {
    
      background-color: #5865F2;
    
      color: white!important;
    
      font-family: "lalezar";
    
      font-size: 24px;
    
      padding: 10px 15px 10px 15px;
    
      border-radius: 3px;
    
      cursor:pointer;
    
    }
    
    .discordbtn:hover{background-color:#4653e0; }
    
    
    
    
    
    .spotifybtn {
    
      background-color: #1DB954;
    
      color: white!important;
    
      font-family: "lalezar";
    
      font-size: 24px;
    
      padding: 10px 18px 10px 18px;
    
      border-radius: 3px;
    
      cursor:pointer;
    
    
    
    }
    
    
    
    .spotifybtn:hover{background-color:#159d45; }


  1. And here’s what it looks like on the front end:




Looking for more advanced customization? Read: AE Connect: Advanced Setup and Customization

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article