Block Before and After Slider: Difference between revisions

From Posstack.com Documentation
mNo edit summary
mNo edit summary
Line 1: Line 1:
Before & After slider block lets you compare two versions of an image together. Before and after images will appear with a divider which can be moved so that users can see the difference.  
Before & After slider block lets you compare two versions of an image together. Before and after images will appear with a divider which can be moved so that users can see the difference.  
  NOTE: This block is only available for the Pro plan. You can still add and edit this block normally in the Theme Editor; however, you need to upgrade your plan to apply them to the front end.
  NOTE: This block is only available for the Pro plan. You can still add and edit this block normally in the Theme Editor; however, you need to upgrade your plan to apply them to the front end.
See Before & After Slider examples [https://easy-content-builder-demo.myshopify.com/products/the-women-greenhouse-tee here], [https://easy-content-builder-demo.myshopify.com/products/sneaker here], or [https://easy-content-builder-demo.myshopify.com/products/stylish-woolen-fashion-hat here].
[[File:Ecb before after slider.png|alt=Easy Content Builder - Before & After Slider block]]
[[File:Ecb before after slider.png|alt=Easy Content Builder - Before & After Slider block]]


Line 51: Line 53:
|Set the opacity of the navigation arrow
|Set the opacity of the navigation arrow
|-
|-
|Padding Top
|Animate On Scroll
|Set the block's padding top (in px)
|Apply different types of animation to elements within each section as you scroll down the page. Learn more about scrolling animations here.
|-
|Padding Bottom
|Set the block's padding bottom (in px)
|-
|Margin Top
|Set the block’s margin top (in px)
|-
|-
|Margin Bottom
|Margin
|Set the block’s margin bottom (in px)
|Set the vertical spacing between elements.
|}
|}

Revision as of 13:34, 8 April 2023

Before & After slider block lets you compare two versions of an image together. Before and after images will appear with a divider which can be moved so that users can see the difference.

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

See Before & After Slider examples here, here, or here.

Easy Content Builder - Before & After Slider block

(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.)

Block Settings Description
Image 1 Upload the Before image
Image 1 Label Enter the label of the Before image
Image 2 Upload the After image
Image 2 Label Enter the label of the After image
Image Width (px) Set the width of Before & After images
Image Height (px) Set the height of Before & After images
Image Crop Cut out a part of the image: Top, Left, Bottom, Right, Center
Direction Set the sliding direction, either horizontal or vertical
Slide on Set the divider to move on mouse hover or dragging
Position Adjust the start position of the divider in percentages
Divider Width Set the divider bar's width (in px)
Divider Color Set the color of the divider bar
Arrow Color Set the color of the navigation arrow
Arrow Opacity Set the opacity of the navigation arrow
Animate On Scroll 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.