• Resolved jason_hayes

    (@jason_hayes)


    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

    (@nextendweb_gabor)

    Hi @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/

    Thread Starter jason_hayes

    (@jason_hayes)

    Ramona

    (@nextend_ramona)

    Hi @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

    As per forum rules, commercial products are not supported in these forums. 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/

    Although I think you might have already contacted us there, as I remember answering a very similar question recently.

    Thread Starter jason_hayes

    (@jason_hayes)

    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

    (@laszloszalvak)

    Hi @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:

    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

    (@jason_hayes)

    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.