← back to Dw Rail Front Page
fix duplicate hero_sub id + luxe fallback imagery
ef1ad00c6644e9e2d834a6c2ac5e2cc7a663d390 · 2026-07-15 11:45:24 -0700 · Steve
Files touched
M sections/rail-front-page.liquid
Diff
commit ef1ad00c6644e9e2d834a6c2ac5e2cc7a663d390
Author: Steve <steve@designerwallcoverings.com>
Date: Wed Jul 15 11:45:24 2026 -0700
fix duplicate hero_sub id + luxe fallback imagery
---
sections/rail-front-page.liquid | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/sections/rail-front-page.liquid b/sections/rail-front-page.liquid
index a0809cf..9497d2a 100644
--- a/sections/rail-front-page.liquid
+++ b/sections/rail-front-page.liquid
@@ -9,6 +9,12 @@
{%- liquid
assign s = section.settings
assign rid = section.id
+ comment
+ Luxe fallback imagery (high-end lines only) so the section renders with real
+ imagery before a merchant picks assets. Never Brewster/York/WallQuest.
+ endcomment
+ assign hero_fallback = 'https://cdn.shopify.com/s/files/1/0015/4117/7456/files/mr-abh-1177-Maya_Romanoff_3.jpg'
+ assign block_fallbacks = 'https://cdn.shopify.com/s/files/1/0015/4117/7456/files/T75107.jpg,https://cdn.shopify.com/s/files/1/0015/4117/7456/files/T75111_70b8dbaa-4a4c-4660-b503-0df6999bad94.jpg' | split: ','
-%}
<style>
@@ -17,7 +23,7 @@
--rail-bg:{{ s.rail_bg }}; --rail-tx:{{ s.rail_tx }}; --rail-mut:{{ s.rail_mut }};
--act-bg:{{ s.act_bg }}; --accent:{{ s.accent }}; --div:{{ s.divider }};
--mono-bg:{{ s.mono_bg }}; --mono-fg:{{ s.mono_fg }};
- --hero-tx:{{ s.hero_tx }}; --hero-sub:{{ s.hero_sub }};
+ --hero-tx:{{ s.hero_tx }}; --hero-sub:{{ s.hero_sub_color }};
--cta-bg:{{ s.cta_bg }}; --cta-tx:{{ s.cta_tx }};
--foot-bg:{{ s.foot_bg }}; --foot-tx:{{ s.foot_tx }};
--veil:{{ s.hero_veil }}; --rail-w:{{ s.rail_width }}px;
@@ -115,7 +121,7 @@
</aside>
<main>
- <section class="hero"{% if s.hero_image != blank %} style="background-image:url('{{ s.hero_image | image_url: width: 2400 }}')"{% else %} style="background:{{ s.page_bg }}"{% endif %}>
+ <section class="hero"{% if s.hero_image != blank %} style="background-image:url('{{ s.hero_image | image_url: width: 2400 }}')"{% else %} style="background-image:url('{{ hero_fallback }}')"{% endif %}>
{%- if s.hero_eyebrow != blank -%}<div class="ey">{{ s.hero_eyebrow }}</div>{%- endif -%}
<h1>{{ s.hero_heading }}</h1>
{%- if s.hero_sub != blank -%}<p>{{ s.hero_sub }}</p>{%- endif -%}
@@ -123,7 +129,7 @@
</section>
{%- for block in section.blocks -%}
- <section class="ed" {{ block.shopify_attributes }}{% if block.settings.image != blank %} style="background-image:url('{{ block.settings.image | image_url: width: 2000 }}')"{% endif %}>
+ <section class="ed" {{ block.shopify_attributes }}{% if block.settings.image != blank %} style="background-image:url('{{ block.settings.image | image_url: width: 2000 }}')"{% else %} style="background-image:url('{{ block_fallbacks[forloop.index0] | default: block_fallbacks.first }}')"{% endif %}>
<h2>{{ block.settings.heading }}</h2>
{%- if block.settings.label != blank -%}<a class="pill" href="{{ block.settings.link | default: routes.all_products_collection_url }}">{{ block.settings.label }}</a>{%- endif -%}
</section>
@@ -181,7 +187,7 @@
{ "type": "color", "id": "mono_bg", "label": "Monogram background", "default": "#a9773f" },
{ "type": "color", "id": "mono_fg", "label": "Monogram text", "default": "#ffffff" },
{ "type": "color", "id": "hero_tx", "label": "Hero heading text", "default": "#3a3025" },
- { "type": "color", "id": "hero_sub", "label": "Hero subtext", "default": "#6f6152" },
+ { "type": "color", "id": "hero_sub_color", "label": "Hero subtext color", "default": "#6f6152" },
{ "type": "color_background", "id": "hero_veil", "label": "Hero legibility veil (over image)", "default": "linear-gradient(rgba(231,220,200,.82),rgba(231,220,200,.62))" },
{ "type": "color", "id": "cta_bg", "label": "CTA background", "default": "#3a3025" },
{ "type": "color", "id": "cta_tx", "label": "CTA text", "default": "#efe6d6" },
← 96ce58f Rail front page: Warm Sand Liquid section + standalone previ
·
back to Dw Rail Front Page
·
auto-save: 2026-07-15T12:06:24 (1 files) — sections/rail-fro 9fe5d06 →