Block Custom HTML: Difference between revisions

From Posstack.com Documentations
(Created page with "The Custom HTML block lets you add snippets of HTML to your page. This block is helpful to embed custom content such as Google Map, Google Forms, specialized newsletter signups, or third-party widgets. From the Shopify theme editor, click on '''Custom HTML''' on the sidebar to view the details of settings. ''(If you’re new to our Easy Content Builder, please refer to section Add App Sections and Add ECB Blocks for more details on how to create and edit a se...")
 
No edit summary
Line 18: Line 18:
|-
|-
|Padding Top
|Padding Top
|Set the padding top (in px) of the section
|Set the padding top (in px) of the button.
|-
|-
|Padding Bottom
|Padding Bottom
|Set the padding bottom (in px) of the section
|Set the padding bottom (in px) of the button.
|-
|-
|Margin Top
|Margin Top
|Set the margin top (in px) of the section
|Set the margin top (in px) of the button.
|-
|-
|Margin Bottom
|Margin Bottom
|Set the margin bottom (in px) of the section
|Set the margin bottom (in px) of the button.
|}
|}

Revision as of 08:05, 11 November 2022

The Custom HTML block lets you add snippets of HTML to your page. This block is helpful to embed custom content such as Google Map, Google Forms, specialized newsletter signups, or third-party widgets.

From the Shopify theme editor, click on Custom HTML on the sidebar to view the details of settings.

(If you’re new to our Easy Content Builder, please refer to section Add App Sections and Add ECB Blocks for more details on how to create and edit a section or a block.)

Section settings Description
Paragraph Multi-line text field with the following basic formatting options: Bold, Italic, Underline, Link and Paragraph.
Custom HTML Add your HTML-formatted code to this field.
Custom Liquid Add app snippets or other Liquid code to create advanced customizations.
Padding Top Set the padding top (in px) of the button.
Padding Bottom Set the padding bottom (in px) of the button.
Margin Top Set the margin top (in px) of the button.
Margin Bottom Set the margin bottom (in px) of the button.