{"id":26114,"date":"2022-09-26T10:46:07","date_gmt":"2022-09-26T14:46:07","guid":{"rendered":"https:\/\/plumrocket.com\/docs\/?p=26114"},"modified":"2022-09-26T10:52:43","modified_gmt":"2022-09-26T14:52:43","slug":"how-to-customize-magento-2-social-login-buttons-design-on-specific-forms","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design","title":{"rendered":"How to Customize Magento 2 Social Login Buttons Design on Specific Forms"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The <a href=\"\/magento-social-login-pro\">Magneto 2 Social Login Pro<\/a> 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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-setting-custom-design-for-social-login-buttons-on-a-specific-form\">Setting Custom Design for Social Login Buttons on a Specific Form<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Social Login Pro extension provides a <code class=\"\" data-line=\"\">custom_design<\/code> parameter in the <code class=\"\" data-line=\"\">\\Plumrocket\\SocialLoginPro\\Block\\Buttons<\/code> block in version 4.0.4 and later. We recommend changing it using layout:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-markup\" data-line=\"\">&lt;referenceBlock name=&quot;social_buttons_block_name&quot;&gt;\n        &lt;arguments&gt;\n                &lt;argument name=&quot;custom_design&quot; xsi:type=&quot;string&quot;&gt;square&lt;\/argument&gt;\n        &lt;\/arguments&gt;\n&lt;\/referenceBlock&gt;<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The <code class=\"\" data-line=\"\">custom_design<\/code> argument takes one of the following values: <em>default<\/em>, <em>square<\/em>, <em>round<\/em>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-example-changing-social-login-buttons-design-on-the-login-page\">Example: Changing Social Login Buttons Design On the Login Page<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To customize the buttons on the login page, you will need to customize the <code class=\"\" data-line=\"\">customer_account_login.xml<\/code> layout. Please use the official guide on <a href=\"https:\/\/developer.adobe.com\/commerce\/frontend-core\/guide\/layouts\/extend\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">how to customize layouts<\/a> and do the following customizations on the layout xml:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div class=\"prism-title\">customer_account_login.xml<\/div><pre><code class=\"language-markup\" data-line=\"\">&lt;referenceBlock name=&quot;pslogin.customer.form.login.buttons&quot;&gt;\n        &lt;arguments&gt;\n                &lt;argument name=&quot;custom_design&quot; xsi:type=&quot;string&quot;&gt;square&lt;\/argument&gt;\n        &lt;\/arguments&gt;\n&lt;\/referenceBlock&gt;<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to Customize Magento 2 Social Login Buttons Design on Specific Forms&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[360],"tags":[],"class_list":["post-26114","post","type-post","status-publish","format-standard","hentry","category-magento-social-login-pro-v4-devguide","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Customize Magento 2 Social Login Buttons Design on Specific Forms - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"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\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Customize Magento 2 Social Login Buttons Design on Specific Forms - Plumrocket Documentation\" \/>\n<meta property=\"og:description\" content=\"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\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-26T14:46:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-26T14:52:43+00:00\" \/>\n<meta name=\"author\" content=\"Admin Docs\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin Docs\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Customize Magento 2 Social Login Buttons Design on Specific Forms - Plumrocket Documentation","description":"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","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design","og_locale":"en_US","og_type":"article","og_title":"How to Customize Magento 2 Social Login Buttons Design on Specific Forms - Plumrocket Documentation","og_description":"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","og_url":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design","og_site_name":"Plumrocket Documentation","article_published_time":"2022-09-26T14:46:07+00:00","article_modified_time":"2022-09-26T14:52:43+00:00","author":"Admin Docs","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin Docs","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design#article","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design"},"author":{"name":"Admin Docs","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/015cbe7d3eb39051359cab3a634456a2"},"headline":"How to Customize Magento 2 Social Login Buttons Design on Specific Forms","datePublished":"2022-09-26T14:46:07+00:00","dateModified":"2022-09-26T14:52:43+00:00","mainEntityOfPage":{"@id":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design"},"wordCount":155,"articleSection":["Developer Guide"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design","url":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design","name":"How to Customize Magento 2 Social Login Buttons Design on Specific Forms - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"datePublished":"2022-09-26T14:46:07+00:00","dateModified":"2022-09-26T14:52:43+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/015cbe7d3eb39051359cab3a634456a2"},"description":"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","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide\/custom-design#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 Social Login Pro","item":"https:\/\/plumrocket.com\/magento-social-login-pro"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro"},{"@type":"ListItem","position":4,"name":"v4","item":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4"},{"@type":"ListItem","position":5,"name":"Developer Guide","item":"https:\/\/plumrocket.com\/docs\/magento-social-login-pro\/v4\/devguide"},{"@type":"ListItem","position":6,"name":"How to Customize Magento 2 Social Login Buttons Design on Specific Forms"}]},{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/015cbe7d3eb39051359cab3a634456a2","name":"Admin Docs","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d6479b5af6eac763e1302ee1354e543e6b78e779b21bffbc4d599470abbaacc2?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d6479b5af6eac763e1302ee1354e543e6b78e779b21bffbc4d599470abbaacc2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d6479b5af6eac763e1302ee1354e543e6b78e779b21bffbc4d599470abbaacc2?s=96&d=mm&r=g","caption":"Admin Docs"}}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/26114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=26114"}],"version-history":[{"count":13,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/26114\/revisions"}],"predecessor-version":[{"id":26133,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/26114\/revisions\/26133"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=26114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=26114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=26114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}