Shopify themes, liquid, logos, and UX
Hi,
i want the banner image from my store to be included in my menu header section. currently it looks like this:
but i want it like this:
Add this code in the header.liquid file under schema
{
"type": "checkbox",
"id": "enable_transparent-header",
"label": "Enable Transparent Header",
"default": false
},
{
"type": "text",
"id": "color-transparent",
"label": "Transparent Color"
}
Add this code in the header.liquid file under <style> tag
{% if section.settings.enable_transparent-header %}
.header-wrapper{
background: transparent !important;
position: absolute !important;
width: 100% !important;
top: 0px;
}
{% endif %}
{% if section.settings.color-transparent %}
@media only screen and (min-width: 600px) {
.list-menu__item, details[open]>.header__submenu {
color: {{ section.settings.color-transparent }} !important;
background: transparent;
}
}
.header__icon.link,.header__active-menu-item,.disclosure__button,.header__heading-link .h2{
color: {{ section.settings.color-transparent }} !important;
}
{% endif %}
Hi Mrashid,
thank you very much - where exactly do i need to insert it?
@emirsalibasic after settings [
{
"type": "checkbox",
"id": "enable_transparent-header",
"label": "Enable Transparent Header",
"default": false
},
{
"type": "text",
"id": "color-transparent",
"label": "Transparent Color"
},
please copy paste this. you need to add comma , at the end as well
@emirsalibasic or reach out on private chat . whats app thank you
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025