Unsen - Custom Liquid

This is an advanced section. Knowledge of web design languages such as LIQUID, HTML, and CSS is required.

1.webp

It is usually located on Homepage. However, Shopify 2.0 allows you to add the Custom Liquid section to any pages that you wanna use.

Steps

  1. In the theme editor (Customize), click Add section

  2. Search Custom Liquid

  3. Click Save button

How to configure the Custom Liquid section?

Example: If I input this liquid, the content will display the same as in the image below.

{%- assign unsen_theme = "Top view in this weekend" -%}
<div style="text-align:center; font-size: 30px; color: black;background-color:beige;padding:30px 0;">
{{unsen_theme}}</div>
2.webp

Note: You can visit to this liquid to understand more about the liquid: Link