Homepage & sections

Custom sections, Liquid & CSS

Extend a layout using the custom content tools available in Zayra and Shopify.

Zayra 5.4.3Reviewed 25 November 2026

Set it up

  1. Duplicate the theme before introducing custom code.
  2. Use Custom section when its editable blocks can express the content you need.
    Arrange the content groups in a custom section.
    Reference 1. Arrange the content groups in a custom section.The4 reference screenshot · Controls and branding may differ in your Zayra release. Select the image to view full size.
  3. Use Custom Liquid - HTML only when you need markup or Liquid that is not available as a normal block.
  4. For styling, use Shopify’s section-level Custom CSS control when available, keeping selectors limited to the intended content.
  5. Save, preview every affected template, and test both color modes and mobile layouts.

If something looks wrong

  • A Liquid error can stop a custom section from rendering. Remove the last edit and check the markup before restoring it.
  • Do not paste passwords, private API keys, license keys, or administrative scripts into storefront markup.
  • Custom code and third-party scripts may need manual migration during a theme update. Keep a record of each change.

Shopify guidance

Editor controls

Expand a group to see the controls in Zayra 5.4.3. Some options appear only after selecting a related mode or enabling a feature.

Custom section14 controls
Layout
Options: 10 columns · 12 columns
Spacing between items
Choose a value from 0 to 100 px, in steps of 1.
Spacing between items (Tablet)
Choose a value from 0 to 50 px, in steps of 1.
Spacing between items (Mobile)
Choose a value from 0 to 30 px, in steps of 1.
Display colors by section
Turn this option on or off.
Colors schema
Choose a color scheme configured in Theme settings / Colors.

Shown when its related setting is enabled or selected.

Background opacity
Choose a value from 0 to 1, in steps of 0.1.

Shown when its related setting is enabled or selected.

Width
Options: Container · Wrap container · Full width
Background image
Choose an image from your store’s files.
Using parallax for background
Turn this option on or off.

Shown when its related setting is enabled or selected.

Margin
Enter the text for this field.
Margin (Mobile)
Enter the text for this field.

Shown when its related setting is enabled or selected.

Padding
Enter the text for this field.
Padding (Mobile)
Enter the text for this field.

Shown when its related setting is enabled or selected.

Full Custom section reference
Custom section14 controls
Layout
Options: 10 columns · 12 columns
Spacing between items
Choose a value from 0 to 100 px, in steps of 1.
Spacing between items (Tablet)
Choose a value from 0 to 50 px, in steps of 1.
Spacing between items (Mobile)
Choose a value from 0 to 30 px, in steps of 1.
Display colors by section
Turn this option on or off.
Colors schema
Choose a color scheme configured in Theme settings / Colors.

Shown when its related setting is enabled or selected.

Background opacity
Choose a value from 0 to 1, in steps of 0.1.

Shown when its related setting is enabled or selected.

Width
Options: Container · Wrap container · Full width
Background image
Choose an image from your store’s files.
Using parallax for background
Turn this option on or off.

Shown when its related setting is enabled or selected.

Margin
Enter the text for this field.
Margin (Mobile)
Enter the text for this field.

Shown when its related setting is enabled or selected.

Padding
Enter the text for this field.
Padding (Mobile)
Enter the text for this field.

Shown when its related setting is enabled or selected.

Full Custom section reference
Custom Liquid - HTML11 controls
Custom Liquid
Add reviewed Liquid content for this area.
Display colors by section
Turn this option on or off.
Colors schema
Choose a color scheme configured in Theme settings / Colors.

Shown when its related setting is enabled or selected.

Background section overlay
Choose a value from 0 to 1, in steps of 0.1.

Shown when its related setting is enabled or selected.

Width
Options: Container · Wrap container · Full width
Background image
Choose an image from your store’s files.
Using parallax for background
Turn this option on or off.

Shown when its related setting is enabled or selected.

Margin
Enter the text for this field.
Margin (Mobile)
Enter the text for this field.

Shown when its related setting is enabled or selected.

Padding
Enter the text for this field.
Padding (Mobile)
Enter the text for this field.

Shown when its related setting is enabled or selected.

Full Custom Liquid - HTML reference
Custom line10 controls
Line timeline style
Options: Solid · Dotted · Dashed · Double · Groove
Line width
Choose a value from 1 to 100 %, in steps of 1.
Line height
Choose a value from 1 to 15 px, in steps of 0.5.
Line color
Choose a color.
Line position
Options: Left · Center · Right
Make section full width
Turn this option on or off.
Margin
Enter the text for this field.
Margin (Mobile)
Enter the text for this field.

Shown when its related setting is enabled or selected.

Padding
Enter the text for this field.
Padding (Mobile)
Enter the text for this field.

Shown when its related setting is enabled or selected.

Full Custom line reference

Need a hand with your store?

Contact Inspired Marketing