[object Object]

← back to Dw Theme Live Signin Split

snapshot: LIVE pxs-announcement-bar.liquid + header-group.json baseline (carnegie-color-swatch 145121607731)

ec4d13ec565e76124c2855fdfebc5a282cbccaf0 · 2026-08-31 10:22:15 -0700 · Steve Abrams

Files touched

Diff

commit ec4d13ec565e76124c2855fdfebc5a282cbccaf0
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Aug 31 10:22:15 2026 -0700

    snapshot: LIVE pxs-announcement-bar.liquid + header-group.json baseline (carnegie-color-swatch 145121607731)
---
 sections/header-group.json           | 119 +++++++++++++++++++++++++++++++++++
 sections/pxs-announcement-bar.liquid | 101 +++++++++++++++++++++++++++++
 2 files changed, 220 insertions(+)

diff --git a/sections/header-group.json b/sections/header-group.json
new file mode 100644
index 0000000..cdce679
--- /dev/null
+++ b/sections/header-group.json
@@ -0,0 +1,119 @@
+{
+  "type": "header",
+  "name": "Header",
+  "sections": {
+    "announcement_bar": {
+      "type": "pxs-announcement-bar",
+      "settings": {
+        "show_announcement": false,
+        "announcement_home_only": false,
+        "announcement_text": "Sign Up Today - No Charge Samples for qualified design trade professionals and 3 Free for Retail.",
+        "announcement_text_mobile": "Free trade samples · 3 for retail — Sign up",
+        "announcement_link": "#dw-signin",
+        "announcement_color": "#ffffff",
+        "announcement_background": "#262626"
+      }
+    },
+    "header": {
+      "type": "header",
+      "blocks": {
+        "header_customer_link_xeQjb3": {
+          "type": "header_customer_link",
+          "settings": {
+            "link_text": "(888) 373-4564",
+            "link_url": "tel:+18883734564"
+          }
+        },
+        "mega_menu_37rKTg": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "Collections"
+          }
+        },
+        "mega_menu_xmfqGW": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "Styles"
+          }
+        },
+        "mega_menu_Wxi38J": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "Durable"
+          }
+        },
+        "mega_menu_AwaATJ": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "Specialty"
+          }
+        },
+        "mega_menu_fb6aMJ": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "more"
+          }
+        },
+        "mega_menu_f3yKaB": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "Featured"
+          }
+        },
+        "mega_menu_R7CCKD": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "Showroom Lines"
+          }
+        },
+        "mega_menu_AfKBEi": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "Fabrics"
+          }
+        },
+        "mega_menu_CYGBL8": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "More Lines"
+          }
+        },
+        "1517006611982": {
+          "type": "mega_menu",
+          "settings": {
+            "menu_item": "Commercial"
+          }
+        }
+      },
+      "block_order": [
+        "header_customer_link_xeQjb3",
+        "mega_menu_37rKTg",
+        "mega_menu_xmfqGW",
+        "mega_menu_Wxi38J",
+        "mega_menu_AwaATJ",
+        "mega_menu_fb6aMJ",
+        "mega_menu_f3yKaB",
+        "mega_menu_R7CCKD",
+        "mega_menu_AfKBEi",
+        "mega_menu_CYGBL8",
+        "1517006611982"
+      ],
+      "settings": {
+        "logo": "shopify:\/\/shop_images\/Screen_Shot_2019-02-06_at_12.08.24_PM.png",
+        "header_layout": "compact-left",
+        "header_full_width": true,
+        "header_border": true,
+        "sticky_header": true,
+        "sticky_header_logo": true,
+        "enable_predictive_search": false,
+        "menu": "main-menu",
+        "enable_checkout_lock_icon": true
+      }
+    }
+  },
+  "order": [
+    "announcement_bar",
+    "header"
+  ]
+}
+
diff --git a/sections/pxs-announcement-bar.liquid b/sections/pxs-announcement-bar.liquid
new file mode 100644
index 0000000..44c092b
--- /dev/null
+++ b/sections/pxs-announcement-bar.liquid
@@ -0,0 +1,101 @@
+<script
+  type="application/json"
+  data-section-type="pxs-announcement-bar"
+  data-section-id="{{ section.id }}"
+></script>
+
+{% assign enable_announcement = section.settings.show_announcement %}
+{% assign homepage_only = section.settings.announcement_home_only %}
+{% assign show_announcement = false %}
+
+{% if enable_announcement and homepage_only == false %}
+  {% assign show_announcement = true %}
+{% endif %}
+
+{% if enable_announcement and homepage_only and template.name == 'index' %}
+  {% assign show_announcement = true %}
+{% endif %}
+
+{% if section.settings.announcement_text == blank %}
+  {% assign show_announcement = false %}
+{% endif %}
+
+{% unless show_announcement %}
+  {% break %}
+{% endunless %}
+
+<a
+  class="pxs-announcement-bar"
+  style="
+    color: {{ section.settings.announcement_color }};
+    background-color: {{ section.settings.announcement_background }}
+  "
+  {% if section.settings.announcement_link != blank %}
+    href="{{ section.settings.announcement_link }}"
+  {% endif %}
+>
+  {% if section.settings.announcement_text_mobile != blank %}
+    <span class="pxs-announcement-bar-text-mobile">
+      {{ section.settings.announcement_text_mobile | escape }}
+    </span>
+  {% endif %}
+
+  {% if section.settings.announcement_text != blank %}
+    <span class="pxs-announcement-bar-text-desktop">
+      {{ section.settings.announcement_text | escape }}
+    </span>
+  {% endif %}
+</a>
+
+
+
+{% schema %}
+{
+  "name": "Announcement bar",
+  "settings": [
+    {
+      "type": "checkbox",
+      "id": "show_announcement",
+      "label": "Show announcement",
+      "default": false
+    },
+    {
+      "type": "checkbox",
+      "id": "announcement_home_only",
+      "label": "Show on home page only",
+      "default": false
+    },
+    {
+      "id": "announcement_text",
+      "type": "textarea",
+      "label": "Text",
+      "default": "Call attention to a special discount, feature, or promotion here."
+    },
+    {
+      "id": "announcement_text_mobile",
+      "type": "textarea",
+      "label": "Text (mobile)",
+      "default": "Use less text on mobile!",
+      "info": "Use this option if you want to display alternate text in mobile. Recommended for shortening announcement text to make suitable for mobile."
+    },
+    {
+      "id": "announcement_link",
+      "type": "url",
+      "label": "Link"
+    },
+    {
+      "id": "announcement_color",
+      "type": "color",
+      "label": "Text color",
+      "default": "#ffffff"
+    },
+    {
+      "id": "announcement_background",
+      "type": "color",
+      "label": "Background color",
+      "default": "#000000"
+    }
+  ]
+}
+
+{% endschema %}

← 00fb8b8 Split top-banner sign-in: Trade Sign In -> /pages/trade-only  ·  back to Dw Theme Live Signin Split  ·  Re-target sign-in split to the PROMO ANNOUNCEMENT BAR (pxs-a f3cd81c →