Skip to content

Page Header

File: snippets/page-header.liquid

Screenshot not yet added.
Save as docs/src/assets/screenshots/snippet-page-header.png

Description

Page Header Snippet

This Liquid snippet renders a header with a title, subtitle, and up to two buttons. It uses Tailwind CSS for styling and conditionally renders elements based on the provided props.

Parameters

NameTypeDescriptionOptional
titleStringThe main headingNo
subtitleStringA subheading or description textNo
button1_textStringText for the first buttonNo
button1_linkStringURL for the first buttonNo
button2_textStringText for the second buttonNo
button2_linkStringURL for the second buttonNo
background_imageStringURL for an optional background imageYes
full_heightStringBoolean to set height to 380px (default: false)No
textured_bordersStringString - ‘top’, ‘bottom’, or ‘both’ for textured bordersNo

Usage

{% render 'page-header' %}