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
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024