Security block

Product page block

This feature was added in v5.0.0 on April 12, 2022. See our changelog and theme update guide to learn more.

In the Product template, you can add a Security widget to let customers know how your store ensures the security of their information and transactions.

See also the Shipping block and Payment block.

Shopify Payment methods are a Shopify feature. Themes do not control which payment icons appear: see Shopify's Payments manual ↗ to learn more or contact Shopify Support ↗ about payment icons.

Set up security block

Follow the steps to add a security widget block and customize the layout, headings, and add an optional image.

Editing a template changes all pages that use that template. To edit specific pages, you can create and assign new templates or insert dynamic content using metafields.

STEPS

In your theme editor (Customize):

  1. Choose the Products template you want to edit.

  2. Under the Product overview section, click on the Security block to open the settings.

    Or click (+) Add block and select Security.

  3. Select which column to display the feature: either Left or Right.

    Choose Left for a larger block below the product media.

  4. Click Save.

Add text content

Add a Heading and Text, and adjust their alignment and width.

STEPS

In your theme editor (Customize):

  1. Click on the Security block to open the settings.

  2. Change the Heading text.

    We recommend a short title with 2 - 3 words.

    To show different headings on different product pages,you can create new templates or insert dynamic content with metafields.

  3. Change the Text content to tell customers how your store keeps their information and transactions secure.

    To show different text on different product pages,you can create new templates or insert dynamic content with metafields.

  4. Select the Text alignment to align the heading and text to the Left, Center, or Right.

  5. (Optional). Use the Max width of heading to control the line breaks of the Heading when viewed on a full-width desktop screen.

  6. (Optional). Use the Max width of text to control the line breaks of the Text when viewed on a full-width desktop screen.

  7. Click Save.

Add button

You can add a button to link to a page with more information.

STEPS

In your theme editor (Customize):

  1. Click on the Security block to open the settings.

  2. Select or enter a URL for the Button link.

  3. (Optional.) Change the Button label text.

    The most effective button labels ask customers to do something (e.g. Get started, Join us, Shop now). To learn more, read "What is a Call to Action?".

  4. Click Save.

Change block colors

Change the color of every block element, including the Background, Text, Button text, Button background.

To enable an image Overlay color, use the Overlay opacity slider to change the color from transparent (0) to complete opaque (100).

Click the Overlay gradient option to add a color overlay that fades across a range of hues. You can choose the style, angle, position, and opacity of the gradient. See Shopify's color gradient guide ↗ to learn more.


Related links

Product template

Last updated