{% doc %} @prompt Create a festive, elegant Elan Makeup Studio holiday sale banner on the Home page only. Place below navigation and above main homepage content. Match the current theme's beauty branding. Use a distinctive serif headline, tasteful festive accents and strong readable contrast. Keep it compact with 12px top/bottom padding, no minimum height, and editable padding, fonts, colors and text. Headline: 'Elan Makeup Studio Holiday Sale Starts Today!' Supporting text: 'Save up to 15% on your beauty favorites. Stock up, refresh your makeup bag, and get holiday-ready.' Details: 'No code needed · On select products · Ends December 15'. Do NOT mention extra 10% off, a $150 threshold, or change existing discounts. Provide an optional button labeled 'Shop the Holiday Sale' with an editable link, but leave button hidden until a destination is selected. Scope banner to homepage only, not sitewide header, Heal & Thrive, collection pages or product pages. Do not replace existing content. {% enddoc %} {% assign ai_gen_id = block.id | replace: '_', '' | downcase %} {% style %} .ai-holiday-banner-{{ ai_gen_id }} { display: block; box-sizing: border-box; width: {{ block.settings.desktop_width_percent }}%; max-width: 100%; margin: 0 auto; padding: {{ block.settings.vertical_padding }}px 20px; background: {{ block.settings.background_color }}; color: {{ block.settings.text_color }}; text-align: center; border-top: 1px solid {{ block.settings.accent_color }}; border-bottom: 1px solid {{ block.settings.accent_color }}; } .ai-holiday-banner-{{ ai_gen_id }}__inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: 24px; row-gap: 8px; } .ai-holiday-banner-{{ ai_gen_id }}__copy { min-width: 0; } .ai-holiday-banner-{{ ai_gen_id }}__heading { margin: 0; color: {{ block.settings.text_color }}; font-family: {{ block.settings.heading_font.family }}, {{ block.settings.heading_font.fallback_families }}; font-size: clamp(20px, 2.2vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: 0.01em; } .ai-holiday-banner-{{ ai_gen_id }}__supporting { margin: 5px 0 0; color: {{ block.settings.text_color }}; font-family: {{ block.settings.body_font.family }}, {{ block.settings.body_font.fallback_families }}; font-size: 15px; line-height: 1.45; } .ai-holiday-banner-{{ ai_gen_id }}__details { margin: 5px 0 0; color: {{ block.settings.text_color }}; font-family: {{ block.settings.body_font.family }}, {{ block.settings.body_font.fallback_families }}; font-size: 12px; line-height: 1.4; letter-spacing: 0.04em; } .ai-holiday-banner-{{ ai_gen_id }}__ornament { color: {{ block.settings.accent_color }}; padding: 0 7px; } .ai-holiday-banner-{{ ai_gen_id }}__button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid {{ block.settings.text_color }}; border-radius: 4px; background: {{ block.settings.text_color }}; color: {{ block.settings.button_text_color }}; font-family: {{ block.settings.body_font.family }}, {{ block.settings.body_font.fallback_families }}; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none; } .ai-holiday-banner-{{ ai_gen_id }}__button:hover { background: transparent; color: {{ block.settings.text_color }}; } .ai-holiday-banner-{{ ai_gen_id }}__button:focus-visible { outline: 2px solid {{ block.settings.accent_color }}; outline-offset: 3px; } @media screen and (max-width: 749px) { .ai-holiday-banner-{{ ai_gen_id }} { padding-right: 16px; padding-left: 16px; } .ai-holiday-banner-{{ ai_gen_id }}__inner { flex-direction: column; gap: 8px; } .ai-holiday-banner-{{ ai_gen_id }}__supporting { font-size: 14px; } } {% endstyle %} {% if request.page_type == 'index' %}

{{ block.settings.headline | escape }}

{{ block.settings.supporting_text | escape }}

{{ block.settings.sale_details | escape }}

{% if block.settings.button_link != blank %} {{ block.settings.button_label | escape }} {% endif %}
{% endif %} {% schema %} { "name": "Holiday sale banner", "settings": [ { "type": "header", "content": "Banner text" }, { "type": "text", "id": "headline", "label": "Headline", "default": "Elan Makeup Studio Holiday Sale Starts Today!" }, { "type": "textarea", "id": "supporting_text", "label": "Supporting text", "default": "Save up to 15% on your beauty favorites. Stock up, refresh your makeup bag, and get holiday-ready." }, { "type": "text", "id": "sale_details", "label": "Sale details", "default": "No code needed · On select products · Ends December 15" }, { "type": "header", "content": "Button" }, { "type": "text", "id": "button_label", "label": "Button label", "default": "Shop the Holiday Sale" }, { "type": "url", "id": "button_link", "label": "Button destination" }, { "type": "header", "content": "Appearance" }, { "type": "font_picker", "id": "heading_font", "label": "Headline font", "default": "serif" }, { "type": "font_picker", "id": "body_font", "label": "Body font", "default": "assistant_n4" }, { "type": "color", "id": "background_color", "label": "Background", "default": "#E4E6ED" }, { "type": "color", "id": "text_color", "label": "Text", "default": "#0E1B4D" }, { "type": "color", "id": "accent_color", "label": "Festive accent", "default": "#8A5B3D" }, { "type": "color", "id": "button_text_color", "label": "Button text", "default": "#FFFFFF" }, { "type": "range", "id": "vertical_padding", "label": "Top and bottom padding", "min": 0, "max": 40, "step": 2, "unit": "px", "default": 12 }, { "type": "range", "id": "desktop_width_percent", "label": "Desktop width", "min": 50, "max": 100, "step": 5, "unit": "%", "default": 100 } ], "presets": [{ "name": "Holiday sale banner" }], "tag": null, "class": "holiday-sale-banner" } {% endschema %}
top of page

Profile

Join date: Jul 26, 2023

About

0 likes received
0 comments received
0 best answers

Global Assignment Help supports the students across the globe by providing them quality assignments on-time. There are more than 500 Ph.D. professional writers in the organization, who are dedicated to submit 100% plagiarism-free assignments. By adding precise and correct information about the concepts, and incorporating the proper customization, the experts can enhance the quality of the assignments. The organization maintains the academic standards and hence good academic grades are confirmed. By taking service from us, students can unlock their full potential by getting proper guidance from the experts, and ensure their success in academics. Moreover the 24/7 customer service and reasonable price range makes us one of the most loved assignment help service providers in the world.


arthurwilson1195

More actions
  • Instagram
  • Facebook

Join our mailing list

bottom of page