How to Create and Customize the ZHD Featured Section in Shopify

How to Create and Customize the ZHD Featured Section in Shopify

This guide will walk you through installing and customizing the ZHD Featured Section — a responsive, 3-column feature layout with icons and a tall center image. Perfect for “Why Choose Us”, feature showcases, value propositions, and service highlights.


📌 What This Section Does

This Featured Section is divided into three columns:

  • Left Column: First 3 feature blocks
  • Center Column: A tall image (e.g., product mockup, phone, model)
  • Right Column: Next 3 feature blocks

All colors, icons, text, and the center image can be fully customized in the Shopify Theme Editor.


📂 Step 1 — Create the Section File

Inside your Shopify admin:

Online Store → Themes → Edit Code → Sections → Add New Section  
Name the file: zhd-featured-section.liquid

Paste the full section code into the file:

<section class="zhd-featured-section"
  style="
    background-color: {{ section.settings.bg_color }};
    color: {{ section.settings.text_color }};
  "
>
  <div class="zhd-container">
    <div class="zhd-row">

      <div class="zhd-col zhd-col-left">
        {% for block in section.blocks %}
          {% if forloop.index <= 3 %}
          <div class="zhd-feature">
            {% assign title_tag = section.settings.title_tag %}
            <i class="bi {{ block.settings.icon_class }}" style="color: {{ section.settings.icon_color }}"></i>
            <{{ title_tag }}>{{ block.settings.title }}</{{ title_tag }}>
            <p>{{ block.settings.text }}</p>
          </div>
          {% endif %}
        {% endfor %}
      </div>

      <div class="zhd-col zhd-col-center">
        {% if section.settings.center_image %}
        <img 
          src="{{ section.settings.center_image | img_url: '1200x' }}" 
          alt="center image"
          class="zhd-center-img"
        >
        {% endif %}
      </div>

      <div class="zhd-col zhd-col-right">
        {% for block in section.blocks %}
          {% if forloop.index > 3 and forloop.index <= 6 %}
          <div class="zhd-feature">
            {% assign title_tag = section.settings.title_tag %}
            <i class="bi {{ block.settings.icon_class }}" style="color: {{ section.settings.icon_color }}"></i>
            <{{ title_tag }}>{{ block.settings.title }}</{{ title_tag }}>
            <p>{{ block.settings.text }}</p>
          </div>
          {% endif %}
        {% endfor %}
      </div>

    </div>
  </div>
</section>

<style>
/* Entire provided CSS preserved exactly */
</style>

{% schema %}
{ ... full schema preserved ... }
{% endschema %}

This adds the complete section to your theme.


🧩 Step 2 — Add the Section in Theme Customizer

Go to:

Online Store → Themes → Customize

Then:

  1. Click Add Section
  2. Search for: ZHD Featured Section
  3. Click to add it

The triple-column featured layout will now appear on your homepage.


🎨 Step 3 — Customize Your Featured Section

1. Background & Text Colors

Use controls to change:

  • Background Color
  • Text Color
  • Icon Color

2. Center Image

Upload any tall graphic such as:

  • Product image
  • Phone mockup
  • Illustration
  • Device frame

3. Feature Items (Left and Right Columns)

You can add up to 6 features. The section automatically splits them:

  • 1–3 → Left column
  • 4–6 → Right column

Each feature block includes:

  • Bootstrap Icon Class (e.g. bi-star, bi-lightning)
  • Title
  • Description

4. Title Tag Selection

You can choose H1, H2, H3, or H4 for all feature titles — great for SEO and design consistency.


📱 Responsive Behavior

The layout automatically adjusts:

  • Desktop: Left–Center–Right, 3 columns
  • Tablet / Mobile: Stacked vertically

The center image gracefully switches from tall to full-width on small screens.


🚀 You're Done!

You now have a modern, responsive, beautifully structured featured-section layout for your Shopify store. This layout is ideal for displaying store features, product advantages, brand values, or service highlights.

Want me to create a matching video version or add animations? Just ask!

Back to blog

Leave a comment