Install #1 Page Builder App for FREE and get deal 6 months of Standard Plan. Hurry up! See Detail  

Header background

Gecko - Custom liquid

Annie

Written by Annie

Last updated

465 views

On this page


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

custom.gif

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

Steps

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

  2. Search Custom Liquid

  3. Click Save button

Code Liquid options

Custom Liquid: This option allows you to add app snippets or other Liquid code to create advanced customizations.

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

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

Please follow this guideline to config Layout, Background, Margin/Padding for the section.

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


Enjoy a free 3-day trial. Then get your first month for $1. Try Now

We uses cookies to ensure you get the best experience on our website.