Title: Centering Button
Last modified: December 3, 2022

---

# Centering Button

 *  Resolved [jason_hayes](https://wordpress.org/support/users/jason_hayes/)
 * (@jason_hayes)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/centering-button-2/)
 * I have a custom login page and the Google button is left justifying. It’s probably
   just a theme issue. What’s the easiest way to fix this? CSS snippet? If so, what
   code am I looking for to make a center snippet?
 * I tried centering the button in the global settings, but it didn’t center it.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [Gabor](https://wordpress.org/support/users/nextendweb_gabor/)
 * (@nextendweb_gabor)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/centering-button-2/#post-16258272)
 * Hi [@jason_hayes](https://wordpress.org/support/users/jason_hayes/)!
 * Centering the button from our settings will put the button in the center of its
   container element. If in your case the button is still on the left, then either:
   
   1. the container of the button is on the left, and doesn’t have 100% width 2.
   your theme has a CSS code, that is too strong and overwrites ours.
 * At both cases, your theme’s CSS codes would have to be modified, so we would 
   need to see your website’s codes to be able to give suggestion about that. Could
   you send me a link to your site? You could send it through our support form too,
   in case you wouldn’t want to make it public:
    [https://nextendweb.com/contact-us/nextend-social-login-support/](https://nextendweb.com/contact-us/nextend-social-login-support/)
 *  Thread Starter [jason_hayes](https://wordpress.org/support/users/jason_hayes/)
 * (@jason_hayes)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/centering-button-2/#post-16259287)
 * Yes. Here’s the link.
 * [https://www.cannabisblogs.org/login](https://www.cannabisblogs.org/login)
    and
   [https://www.cannabisblogs.org/register/](https://www.cannabisblogs.org/register/)
 *  [Ramona](https://wordpress.org/support/users/nextend_ramona/)
 * (@nextend_ramona)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/centering-button-2/#post-16260065)
 * Hi [@jason_hayes](https://wordpress.org/support/users/jason_hayes/)
 * Looking at the linked pages, it seems they’re using the Embedded login buttons
   which still seem to be left aligned.
 * The Embedded Login’s aligmnent can be changed in the Pro Addon only using the“
   Embedded login form button alignment” option at Global settings > Login form:
   
   [https://nextendweb.com/nextend-social-login-docs/global-settings-login-form/#embedded-button-alignment](https://nextendweb.com/nextend-social-login-docs/global-settings-login-form/#embedded-button-alignment)
 * As per forum rules, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   This includes any presales topics as well.
 * If you have any further questions about the Pro Addon version please contact 
   us directly at:
    [https://nextendweb.com/contact-us/nextend-social-login-support/](https://nextendweb.com/contact-us/nextend-social-login-support/)
 * Although I think you might have already contacted us there, as I remember answering
   a very similar question recently.
 *  Thread Starter [jason_hayes](https://wordpress.org/support/users/jason_hayes/)
 * (@jason_hayes)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/centering-button-2/#post-16262390)
 * I have it set to centered but it didn’t change it. I see the centered for the
   pro upgrade but I don’t think that would do anything either in this case. It’s
   got to be my theme overriding the setting. I’ll look into it further. Thanks 
   for your help.
 *  Plugin Support [Laszlo](https://wordpress.org/support/users/laszloszalvak/)
 * (@laszloszalvak)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/centering-button-2/#post-16262476)
 * Hi [@jason_hayes](https://wordpress.org/support/users/jason_hayes/)
 * If I inspect the structure of the social buttons, then they are rendered by the“
   Embedded login form” integration. And the customization of that is only available
   in the Pro Addon. But as Ramona mentioned on this forum we are not allowed to
   provide support for commercial products like the Pro Addon.
    So if you have any
   other questions or problems connected to premium features, then please get in
   touch with us over the ticket system:
    - [https://nextendweb.com/contact-us/nextend-social-login-support/?ref=https://wordpress.org/support/topic/centering-button-2/](https://nextendweb.com/contact-us/nextend-social-login-support/?ref=https://wordpress.org/support/topic/centering-button-2/)
 * and we will help you there.
 * If you want align the buttons in the Free version, then you should override its
   styles via custom CSS, e.g. something like this could probably work for you:
 *     ```
       #nsl-custom-login-form-1 .nsl-container-embedded-login-layout-below{
         text-align: center;
       }
       ```
   
 * However please note that, by adding this custom CSS you will override the style
   of all embedded login buttons! So if you experience problems with the styles 
   you will need to write additional custom CSS as we can not provide support for
   custom styling and problems caused by them!
 *  Thread Starter [jason_hayes](https://wordpress.org/support/users/jason_hayes/)
 * (@jason_hayes)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/centering-button-2/#post-16262601)
 * I ended up using this which worked:
 *     ```
       #nsl-custom-login-form-1 .nsl-container-embedded-login-layout-below {
       	    text-align: center;
       }
       ```
   

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Centering Button’ is closed to new replies.

 * ![](https://ps.w.org/nextend-facebook-connect/assets/icon.svg?rev=3336394)
 * [Nextend Social Login and Register](https://wordpress.org/plugins/nextend-facebook-connect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextend-facebook-connect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextend-facebook-connect/)
 * [Active Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextend-facebook-connect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextend-facebook-connect/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [jason_hayes](https://wordpress.org/support/users/jason_hayes/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/centering-button-2/#post-16262601)
 * Status: resolved