Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #898386
    James
    Participant

    Hi,

    I would like to make the login form positioned in the center of the page horizontally.

    The same for the text “You need to login to view this content. Please Login. Not a Member? Join Us” when user is not logged in.

    Links to my site in the next post.

    Please help.
    Thank you.

    #898395
    James
    Participant
    This reply has been marked as private.
    #898908
    Rupok
    Member

    Hi there,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer.

    .swpm-login-widget-form {
      display: block;
      margin: 0 auto;
      max-width: 200px;
    }
    
    .swpm-post-not-logged-in-msg {
      text-align: center;
    }

    Hope this helps.

    Cheers!

    #899873
    James
    Participant

    It’s working!

    Thank you!

    #900881
    Prasant Rai
    Moderator

    You are most welcome. 🙂

    #993635
    James
    Participant
    This reply has been marked as private.
    #993782
    Rupok
    Member

    Hi there,

    You can try adding :

    #message {
      text-align: center!important;
    }

    Hope this helps.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-898386 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>