How can I make my header background transparent without affecting its center alignment?

How can I make my header background transparent without affecting its center alignment?

sixdreamz
Explorer
103 0 36

Hello,

 

Quick Question.. 

 

is there any way to make the background of my header invisible so that you can see the picture behind the logo for example?

i tried a code from a other user, the background was invisible but now my header isnt centered anymore an my marquee which says "drop coming soon" is completely gone.

 

can somebody code me something so the header transparent. is still centered and it doesnt affect the marquee 

 

Theme: Sense

URL: sixdreamz.com

 

sixdreamz_1-1702664047945.png

 

 

 

Replies 3 (3)

Moeed
Shopify Partner
5466 1479 1766

Hey @sixdreamz 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

 

{% if template == 'index' %}
<style>
sticky-header.header-wrapper.color-accent-1.gradient {
    background: transparent !important;
}
main#MainContent {
    margin-top: -90px;
}
</style>
{% endif %}

 

RESULT:

Moeed_0-1702664843695.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


virregouda
New Member
12 0 4

This does not work for me.. What am I doing wrong? 

https://1f097c-e6.myshopify.com/ - Password Testar 

 

This is what I want - https://www.nudient.se/

MRamzan
Shopify Partner
313 3 35

Solved transparent header:

 

Hire Me:

WhatsApp: +91-9145985880
Email: [email protected]
Skype: mohdramzaan112