Block Tab: Difference between revisions

From Posstack.com Documentation
mNo edit summary
mNo edit summary
Line 5: Line 5:
You have various options to use the Tab section for your Shopify themes:
You have various options to use the Tab section for your Shopify themes:


* Product Information tabs: see an example [https://easy-content-builder-demo.myshopify.com/products/reading-desk-lamp here].
* Display the default Product Description in the Accordion: [[File:Tab-product-desc.jpg|frameless|800x800px]]
 
* Add custom Product Information tabs: see an example [https://easy-content-builder-demo.myshopify.com/products/reading-desk-lamp here].
:[[File:Ecb-tab-demo.png|border|frameless|800x800px]]
:[[File:Ecb-tab-demo.png|border|frameless|800x800px]]
* Specification tabs: see an example [https://easy-content-builder-demo.myshopify.com/products/sport here].
* Specification tabs: see an example [https://easy-content-builder-demo.myshopify.com/products/sport here].
Line 36: Line 38:
|Body
|Body
|Enter content for each tab.
|Enter content for each tab.
To display the product descriptions in a tab, enter the shortcode: '''[description]'''
|-
|-
|Custom HTML
|Custom HTML

Revision as of 03:49, 27 February 2024

This block lets you divide your content into tabs vertically.

NOTE: This block is only available for the PRO plan. You can configure this block normally in the Theme Editor; however, you need to upgrade your plan to apply them to the front end.

What is the Tab section perfect for?

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

  • Display the default Product Description in the Accordion: Tab-product-desc.jpg
  • Add custom Product Information tabs: see an example here.
Ecb-tab-demo.png
  • Specification tabs: see an example here.
Ecb-tab-demo3.png
  • Vertical tabs: see an example here.
Ecb-tab-demo2.png

General Configuration

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

Block tab.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
Position Set a position of Tabs - Top, Left, or Right.
Animation Set slide animation for tab content.
Text Size Set the text size for tab content - Small, Default, Large.
Item Title Enter a title for each tab.
Body Enter content for each tab.

To display the product descriptions in a tab, enter the shortcode: [description]

Custom HTML Add snippets of HTML to your tabs to display custom content.
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.

Create Tab metaobjects

NOTE: The Tab metaobject feature is only available for the PRO plan.
When to use Tab metaobjects

Metaobjects are handy when you want to add fully custom Tab content per product/page using a single template. That means some (or all) products/pages have unique Tab sections specific to each product/page, even though they use the same Template.

Ecb-metaobject-usecase.jpg

How to use Tab metaobjects

Check out the setup guide.

If you want to create a metaobject template for an entirely custom data structure such as Cooking Recipes, Ingredient Lists, Book metadata, Technical Product specifications, etc, use ECB Media and ECB Rich Text Metaobjects by following this guide.

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.