Skip to content
Plumrocket
  1. Magento 2 Extensions
  2. Magento 1 Extensions
  3. Services
    • Magento (Adobe Commerce)
      • Magento Speed Optimization
      • Hyvä Theme Development
        Top
      • Magento 1 to Magento 2 Migration
        Top
      • Magento Upgrade
        Top
      • Magento AMP Development
      • Magento Extension Installation
      • Hire Magento Developers
      • Magento Development
      • View All Magento Services
    • Shopify
      • Shopify Development
        Top
      • Magento to Shopify Migration
    • Salesforce
      • Salesforce Development
      • Magento Salesforce Integration
    • CMS
      • Wix Development
        New
      • Squarespace Development
        New
    • Ecommerce
      • Catalog Management
    • banner icon
      Looking for custom solutions for your business? We've got you covered.
      Start a project arrow right
  4. Resources
    • Blog Insights, trends, and best practices in eCommerce and web development.
    • FAQ Answers to common questions about our services and solutions.
    • Tutorials Step-by-step instructions to streamline your development process.
    • Documentation Detailed guides on our Magento extensions and integrations.
    • Customer Stories Real-world case studies showcasing our clients’ achievements.
  5. Special offers
  6. Contact Us
  • Contact Us

Home Magento 2 Extensions Magento 2 Social Login Pro Documentation v4 Developer Guide How to Customize Magento 2 Social Login Buttons Design on Specific Forms

    • Installation
    • Updating
    • Configuration
    • Integrations
    • How-To Guides
    • Troubleshooting
      • Adding Social Buttons Manually
      • Setting Custom Location for User Profile Photo
      • Adding Custom HTML
      • Setting Custom Design for Social Login Buttons On a Specific Form
      • Adding customer photo in the header in Hyvä
      Developer Guide & API Reference
    • Translation
    • Uninstalling
    Magento 2 Social Login Pro - Documentation

How to Customize Magento 2 Social Login Buttons Design on Specific Forms

The Magneto 2 Social Login Pro extension provides the ability to select a default design for social login buttons. However, it changes the design on all forms at once. This article describes how to change the design of social login buttons for a specific form only, without changing the default setting for other forms.

Setting Custom Design for Social Login Buttons on a Specific Form

The Social Login Pro extension provides a custom_design parameter in the \Plumrocket\SocialLoginPro\Block\Buttons block in version 4.0.4 and later. We recommend changing it using layout:

<referenceBlock name="social_buttons_block_name">
        <arguments>
                <argument name="custom_design" xsi:type="string">square</argument>
        </arguments>
</referenceBlock>

The custom_design argument takes one of the following values: default, square, round.

Example: Changing Social Login Buttons Design On the Login Page

To customize the buttons on the login page, you will need to customize the customer_account_login.xml layout. Please use the official guide on how to customize layouts and do the following customizations on the layout xml:

customer_account_login.xml
<referenceBlock name="pslogin.customer.form.login.buttons">
        <arguments>
                <argument name="custom_design" xsi:type="string">square</argument>
        </arguments>
</referenceBlock>
Was this article helpful?
09/26/202209/26/2022
Search
Search
Generic selectors
Exact matches only
Search in title
Search in content
Contents
Trustpilot
Clutch
Adobe Certified Professional
Adobe Marketplace
Company
  • Home
  • About Plumrocket Inc.
  • Customer Stories
  • Programs & Promotions
  • Careers
  • Contact Us
Legal
  • Terms of Service
  • Privacy Policy
  • Refund Policy
  • Cookie Policy
  • Support Policy
  • Privacy Center
Resources
  • Blog
  • FAQ
  • Documentation
  • Tutorials
Partners
  • Partner Program
  • Affiliate Program
  • Official Partners
Plumrocket Inc. © 2008 - 2026