How do I remove a specific element from my store header?

Hello all,

I have created a store. I want to remove this from the header.

id=“cool-amp-green-vision” class=“sticky-header transparent-header–desktop transparent-header–mobile menu_bar–present template-index”>

@Coolgreenvision hello

This might be theme error incorrect html tag check theme.liquid

1 Like

Thank you for your kind reply. I don’t know what exactly I have to do?

Can you attach the theme.liquid file so i can check?

{%- if content_for_layout contains “product-template” -%}

{%- if settings.enable_payment_button -%}

{%- endif -%} {%- endif -%}

{%- if content_for_layout contains “featured-video” -%}

{%- endif -%}

{%- if content_for_layout contains “map” -%}

{%- endif -%}

{%- if request.page_type == “contact” or request.page_type == “product” or request.page_type == “captcha” -%}

{%- endif -%}

{%- if content_for_header contains “debutify” -%}

{%- if settings.dbtfy_automatic_geolocation -%}

{%- endif -%}

{%- if settings.dbtfy_instagram_feed -%}

{%- endif -%}

{%- if settings.dbtfy_facebook_messenger -%}

{%- endif -%} {%- endif -%}

{%- liquid
assign accent_family = settings.accent_family
assign base_family = settings.base_family
assign header_family = settings.header_family
assign base_family_bold = base_family | font_modify: “weight”, “bolder”
assign base_family_italic = base_family | font_modify: “style”, “italic”
assign base_family_bold_italic = base_family_bold | font_modify: “style”, “italic”
assign accent_family_bold = accent_family | font_modify: “weight”, “bolder”
assign icon_split = settings.icon | split: “-”
capture icon_family
for icon in icon_split
unless forloop.last == true
echo icon | capitalize | append: " "
else
echo icon | capitalize
endunless
endfor
endcapture
-%}

{%- if content_for_header contains “debutify” -%}

{%- endif -%}

{%- if canonical_url != blank -%}

{%- endif -%}

{%- assign favicon_url = settings.favicon | img_url: “192x192” -%}

{%- if settings.favicon == blank -%}
{%- assign favicon_url = “data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=” -%}
{%- endif -%}

{{ page_title }}{% if current_tags %}{%- assign meta_tags = current_tags | join: ", " -%} – {{ "general.meta.tags" | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} – {{ "general.meta.page" | t: page: current_page }}{% endif %}{% unless page_title contains shop.name %} – {{ shop.name }}{% endunless %}

{%- if page_description -%}

{%- endif -%}

{%- render “social-meta-tags” -%}

{{ “theme.scss.css” | asset_url | stylesheet_tag }}

{%- if settings.dbtfy_delivery_date -%}
{{ “flatpickr.min.css” | asset_url | stylesheet_tag }}
{%- endif -%}

{{ header_family | font_face: font_display: "swap" }} {{ accent_family | font_face: font_display: "swap" }} {{ base_family | font_face: font_display: "swap" }} {{ base_family_bold | font_face: font_display: "swap" }} {{ base_family_italic | font_face: font_display: "swap" }} {{ base_family_bold_italic | font_face: font_display: "swap" }} {{ accent_family_bold | font_face: font_display: "swap" }} @font-face { font-family: {{ icon_family }}; font-weight: 400; font-style: normal; font-display: block; src: url({{ settings.icon | append: ".woff2" | asset_url }}) format("woff2"); }

{%- if settings.google_tag_manager_id != blank -%}

{%- endif -%}

{%- render “translations-js” -%}

{{ “jquery-2.2.3.min.js” | asset_url | script_tag }}

{%- if content_for_header contains “debutify” -%}
{%- if settings.show_currency_selector -%}
{%- if settings.dbtfy_custom_currencies or shop.enabled_currencies.size > 1 and settings.dbtfy_cart_goal -%}

{%- endif -%}
{%- endif -%}

{%- endif -%}

{%- if request.page_type contains “customers/” -%}
{{ “shopify_common.js” | shopify_asset_url | script_tag }}
{%- endif -%}

{{ content_for_header }}

{% render ‘review-head’ %}

<body

id=“{{ page_title | handle }}”
class=“{% if settings.sticky_header %}sticky-header{% endif %}
{% if settings.sticky_announcement_bar %}sticky-announcement_bar{% endif %}
{% if settings.hero_header_desktop %}transparent-header–desktop{% endif %}
{% if settings.hero_header_mobile %}transparent-header–mobile{% else %}transparent-header–no-mobile{% endif %}
{% if settings.dbtfy_menu_bar %}menu_bar–present{% endif %}
{% if customer %}customer-logged-in{% endif %}
template-{{ request.page_type | handle }}”>

{%- if settings.google_tag_manager_id != blank -%}

{%- endif -%}

{%- liquid
render ‘hero-header’
render “toasts”

if settings.cart_type == “drawer”
render “drawer-cart”
elsif settings.cart_type == “modal”
render “cart-modal”
endif

render “drawer-search”
render “dbtfy-age-check”
render “dbtfy-cookie-box”
render “dbtfy-facebook-messenger”
render “dbtfy-newsletter-popup”
render “dbtfy-page-transition”
render “dbtfy-quick-view”, type: “container”
render “dbtfy-social-discount”
render “cart-message-toast”
render “dbtfy-cart-reminder”

section “dbtfy-bullet-points”
section “dbtfy-cart-goal”
section “dbtfy-cart-upsell”
if request.page_type == “collection”
section “dbtfy-collection-filters”
endif
section “dbtfy-color-swatches”
section “dbtfy-customizable-products”
section “dbtfy-delivery-time”
section “dbtfy-product-tabs”
section “dbtfy-product-swatches”
section “dbtfy-quantity-breaks”
section “dbtfy-sales-countdown”
section “dbtfy-size-chart”
section “dbtfy-upsell-popup”
section “drawer-menu”

-%}

{{ "shopify.checkout.general.skip_to_content" | t }}

{%- liquid
section “announcement”
section “header”
render “dbtfy-menu-bar”
render “dbtfy-quick-compare”, type: “page”
render “dbtfy-quick-compare”, type: “markup”

unless request.page_type == “collection”
render “breadcrumbs”
endunless
-%}

{%- if request.page_type == "captcha" or request.page_type == "policy" -%}
{%- endif -%}

{%- if template == ‘index’ -%}

{%- endif -%}

{{ content_for_layout }}

{%- if template == ‘index’ -%}

{%- endif -%}

{%- if request.page_type == “captcha” or request.page_type == “policy” -%}

{%- endif -%}

{%- liquid
render “dbtfy-recently-viewed”
section “dbtfy-instagram-feed”
section “guarantee”
section “footer”
-%}

{%- if settings.show_top_button -%}

keyboard_arrow_up

{%- endif -%}

Thank you Kazi, Could you please help me about that, I have attached a code.

Cant see the theme.liquid file can you try again

{%- if content_for_layout contains “product-template” -%}

{%- if settings.enable_payment_button -%}

{%- endif -%} {%- endif -%}

{%- if content_for_layout contains “featured-video” -%}

{%- endif -%}

{%- if content_for_layout contains “map” -%}

{%- endif -%}

{%- if request.page_type == “contact” or request.page_type == “product” or request.page_type == “captcha” -%}

{%- endif -%}

{%- if content_for_header contains “debutify” -%}

{%- if settings.dbtfy_automatic_geolocation -%}

{%- endif -%}

{%- if settings.dbtfy_instagram_feed -%}

{%- endif -%}

{%- if settings.dbtfy_facebook_messenger -%}

{%- endif -%} {%- endif -%}

{%- liquid
assign accent_family = settings.accent_family
assign base_family = settings.base_family
assign header_family = settings.header_family
assign base_family_bold = base_family | font_modify: “weight”, “bolder”
assign base_family_italic = base_family | font_modify: “style”, “italic”
assign base_family_bold_italic = base_family_bold | font_modify: “style”, “italic”
assign accent_family_bold = accent_family | font_modify: “weight”, “bolder”
assign icon_split = settings.icon | split: “-”
capture icon_family
for icon in icon_split
unless forloop.last == true
echo icon | capitalize | append: " "
else
echo icon | capitalize
endunless
endfor
endcapture
-%}

{%- if content_for_header contains “debutify” -%}

{%- endif -%}

{%- if canonical_url != blank -%}

{%- endif -%}

{%- assign favicon_url = settings.favicon | img_url: “192x192” -%}

{%- if settings.favicon == blank -%}
{%- assign favicon_url = “data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=” -%}
{%- endif -%}

{{ page_title }}{% if current_tags %}{%- assign meta_tags = current_tags | join: ", " -%} – {{ "general.meta.tags" | t: tags: meta_tags }}{% endif %}{% if current_page != 1 %} – {{ "general.meta.page" | t: page: current_page }}{% endif %}{% unless page_title contains shop.name %} – {{ shop.name }}{% endunless %}

{%- if page_description -%}

{%- endif -%}

{%- render “social-meta-tags” -%}

{{ “theme.scss.css” | asset_url | stylesheet_tag }}

{%- if settings.dbtfy_delivery_date -%}
{{ “flatpickr.min.css” | asset_url | stylesheet_tag }}
{%- endif -%}

{{ header_family | font_face: font_display: "swap" }} {{ accent_family | font_face: font_display: "swap" }} {{ base_family | font_face: font_display: "swap" }} {{ base_family_bold | font_face: font_display: "swap" }} {{ base_family_italic | font_face: font_display: "swap" }} {{ base_family_bold_italic | font_face: font_display: "swap" }} {{ accent_family_bold | font_face: font_display: "swap" }} @font-face { font-family: {{ icon_family }}; font-weight: 400; font-style: normal; font-display: block; src: url({{ settings.icon | append: ".woff2" | asset_url }}) format("woff2"); }

{%- if settings.google_tag_manager_id != blank -%}

{%- endif -%}

{%- render “translations-js” -%}

{{ “jquery-2.2.3.min.js” | asset_url | script_tag }}

{%- if content_for_header contains “debutify” -%}
{%- if settings.show_currency_selector -%}
{%- if settings.dbtfy_custom_currencies or shop.enabled_currencies.size > 1 and settings.dbtfy_cart_goal -%}

{%- endif -%}
{%- endif -%}

{%- endif -%}

{%- if request.page_type contains “customers/” -%}
{{ “shopify_common.js” | shopify_asset_url | script_tag }}
{%- endif -%}

{{ content_for_header }}

{% render ‘review-head’ %}

<body

id=“{{ page_title | handle }}”
class=“{% if settings.sticky_header %}sticky-header{% endif %}
{% if settings.sticky_announcement_bar %}sticky-announcement_bar{% endif %}
{% if settings.hero_header_desktop %}transparent-header–desktop{% endif %}
{% if settings.hero_header_mobile %}transparent-header–mobile{% else %}transparent-header–no-mobile{% endif %}
{% if settings.dbtfy_menu_bar %}menu_bar–present{% endif %}
{% if customer %}customer-logged-in{% endif %}
template-{{ request.page_type | handle }}”>

{%- if settings.google_tag_manager_id != blank -%}

{%- endif -%}

{%- liquid
render ‘hero-header’
render “toasts”

if settings.cart_type == “drawer”
render “drawer-cart”
elsif settings.cart_type == “modal”
render “cart-modal”
endif

render “drawer-search”
render “dbtfy-age-check”
render “dbtfy-cookie-box”
render “dbtfy-facebook-messenger”
render “dbtfy-newsletter-popup”
render “dbtfy-page-transition”
render “dbtfy-quick-view”, type: “container”
render “dbtfy-social-discount”
render “cart-message-toast”
render “dbtfy-cart-reminder”

section “dbtfy-bullet-points”
section “dbtfy-cart-goal”
section “dbtfy-cart-upsell”
if request.page_type == “collection”
section “dbtfy-collection-filters”
endif
section “dbtfy-color-swatches”
section “dbtfy-customizable-products”
section “dbtfy-delivery-time”
section “dbtfy-product-tabs”
section “dbtfy-product-swatches”
section “dbtfy-quantity-breaks”
section “dbtfy-sales-countdown”
section “dbtfy-size-chart”
section “dbtfy-upsell-popup”
section “drawer-menu”

-%}

{{ "shopify.checkout.general.skip_to_content" | t }}

{%- liquid
section “announcement”
section “header”
render “dbtfy-menu-bar”
render “dbtfy-quick-compare”, type: “page”
render “dbtfy-quick-compare”, type: “markup”

unless request.page_type == “collection”
render “breadcrumbs”
endunless
-%}

{%- if request.page_type == "captcha" or request.page_type == "policy" -%}
{%- endif -%}

{%- if template == ‘index’ -%}

{%- endif -%}

{{ content_for_layout }}

{%- if template == ‘index’ -%}

{%- endif -%}

{%- if request.page_type == “captcha” or request.page_type == “policy” -%}

{%- endif -%}

{%- liquid
render “dbtfy-recently-viewed”
section “dbtfy-instagram-feed”
section “guarantee”
section “footer”
-%}

{%- if settings.show_top_button -%}

keyboard_arrow_up

{%- endif -%}

its not here can you attach the header.liquid from sections > header.liquid