Shopify Sections·shopify

Customizable Shopify Hero Banner Section

Build a polished Shopify storefront with this customizable hero banner section, designed to showcase new products, featured collections, seasonal offers, and important announcements. Add a compelling headline, descriptive text, imagery, and clear call-to-action buttons to help shoppers discover products and promotions. Customize colors, typography, button styles, spacing, and responsive layouts to align the banner with your brand across desktop, tablet, and mobile devices. This flexible Shopify Liquid section is suitable for ecommerce businesses, online stores, and theme developers seeking a reusable homepage banner that is easy to configure and delivers a consistent shopping experience.

languageliquid
filehero-banner.liquid
lines978
#shopifyherobanner#shopifybannersection#shopifyliquid#homepagebanner#ecommercepromotion#responsiveherosection#productlaunch#calltoaction#shopifythemesection

source

The full code

hero-banner.liquid
locked
1{%- style -%}
2#shopify-section-{{ section.id }} {
3 --section-padding-top: {{ section.settings.padding_top }}px;
4 --section-padding-bottom: {{ section.settings.padding_bottom }}px;
5 --section-bg-color: {{ section.settings.background_color }};
6 --text-color: {{ section.settings.text_color }};
7 --button-bg: {{ section.settings.button_bg_color }};
8 --button-text: {{ section.settings.button_text_color }};
9 --button-hover-bg: {{ section.settings.button_hover_bg }};
10 --button-hover-text: {{ section.settings.button_hover_text }};
11 --button-radius: {{ section.settings.button_radius }}px;
12 --label-bg: {{ section.settings.label_bg_color }};
13 --label-text: {{ section.settings.label_text_color }};
14 --heading-size-desktop: {{ section.settings.heading_size_desktop }}px;
15 --heading-size-tablet: {{ section.settings.heading_size_tablet }}px;
16 --heading-size-mobile: {{ section.settings.heading_size_mobile }}px;
17 --gap-desktop: {{ section.settings.gap_desktop }}px;
18 --gap-tablet: {{ section.settings.gap_tablet }}px;
19 --gap-mobile: {{ section.settings.gap_mobile }}px;
20}

Unlock the full code

Enter your name & email to reveal 958 more lines

● liquid20/978 lines

Want sections like these built for you?

Custom Shopify themes, sections, and apps tailored to your brand.

hire me→