Block Buttons: Difference between revisions

From Posstack.com Documentation
Line 51: Line 51:
|Set the vertical spacing between elements.
|Set the vertical spacing between elements.
|}
|}
===Add other content blocks===
You can add many content blocks to a section you've created. These content blocks will be displayed in different positions within the section, depending on the Desktop/Mobile Layouts you configure.
[[File:Ecb-block-v2.jpg|border|frameless|800x800px]]
{{Note|See [https://easy-content-builder-demo.myshopify.com/pages/section-variations all content blocks] available that you can add to a section.|reminder}}

Revision as of 00:19, 24 February 2024

This content block helps you add predefined buttons for actions on a page.

What is the Button section perfect for?

You have various options to use the Button section for your Shopify themes:

  • Multiple buttons within a section: see an example here.
Ecb-button-demo3.png
  • Ghost button style: see an example here.
Ecb-button-demo.png
  • Text link: see an example here.
Ecb-button-demo2.png

General Configuration

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

Block button 2.png

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
Text Alignment Align text to the left, right, or center.
Rounded Border Enable this setting to apply rounded corners to the buttons. To increase the border radius of the button, you can use the Custom CSS option following this video tutorial.
Full-width Enable responsive full-width button.
Button Text Enter the button’s text. Leave this field empty to disable the button.
Button URL Set the internal or external URL for the button’s link.
Button Style Apply a different look for the button. You can choose a Primary Button/Danger Button for the primary action button, a Default Button (outlined button)/Secondary Button for a medium emphasis, or a Text/Link Button for a low emphasis action button.
Button Size Set the button size - Small, Default, or Large.
Target Open the link in the same window or a new window.
Animate On Scroll This feature is only available for the Pro plan. It lets you apply different types of animation to elements within each section as you scroll down the page. Learn more about scrolling animations here.
Margin Set the vertical spacing between elements.

Add other content blocks

You can add many content blocks to a section you've created. These content blocks will be displayed in different positions within the section, depending on the Desktop/Mobile Layouts you configure.

Ecb-block-v2.jpg

See all content blocks available that you can add to a section.