Customize header design - create a special shape of the header

Customize header design - create a special shape of the header

PhMA
Explorer
54 0 7

hello community 🙂

we are using the "refresh theme" and the header currently looks like this:

 

Screenshot 2024-09-20 at 3.15.00 a.m..png

but we would like to achieve such a look of the header, that this red marked part is overlapping the header like a tongue stuck out and that the behavior is fully responsive and also fully sticky header:

Screenshot 2024-09-20 at 3.16.23 a.m..png

 

how can we achieve this? without slowing down the page speed and with a clean and good solution

 

many thanks,

preview link: https://fo68e6svg3jpprqu-61049766108.shopifypreview.com

Replies 5 (5)

Sweans
Shopify Partner
429 89 129

Hi @PhMA,

To make this happen you need to add a small css code in your theme file. for that follow below steps,

 

 

 

h1.header__heading {
    position: relative;
    background-color: #007c7c;
    text-align: center;
    color: white;
    padding: 43px 0;
    overflow: hidden;
    position: absolute;
    bottom: -114px;
    border-bottom-left-radius: 88px;
    border-bottom-right-radius: 89px;
} 

 

 

 

Sweans_0-1726805687436.png

 

I hope this helps! If it does, please like it and mark it as a solution!

If you need further assistance, feel free to reach out!

 

Regards,

Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

Made4uo-Ribe
Shopify Partner
10211 2427 3078

Hi @PhMA 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

h1.header__heading {
    position: absolute;
    top: 0;
    height: 20vh;
    background: #004C4C;
    z-index: 100;
    overflow: auto;
    padding: 20px 10px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}

.header__heading-logo-wrapper {
    padding-top: 20px;
}

img.header__heading-logo {
    height: 8vh;
}
@media (max-width: 600px) {
    h1.header__heading {
        height: 15vh;
        padding: 15px 5px;
    }
    img.header__heading-logo {
        height: 6vh;
    }
}

 

And Save. 

Result:

Made4uoRibe_0-1726837138346.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
PhMA
Explorer
54 0 7

@Made4uo-Ribe  @Sweans  many thanks for your replies, how can I change the shape of this part:

Screenshot 2024-09-20 at 11.00.25 p.m..png

 

so make it exactly in this shape:

Screenshot 2024-09-20 at 11.02.02 p.m..png

 

and it should be first small icon

and then below the name:

Matu

Mate

 

like in this sketch :

Screenshot 2024-09-20 at 11.04.01 p.m..png

 

many thanks

Made4uo-Ribe
Shopify Partner
10211 2427 3078

Yes, that is also my concern. We cannot change that one because it's the image you added in the logo. 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
PhMA
Explorer
54 0 7

@Made4uo-Ribe  imagine if we would replace the logo and upload instead such a logo:

PhMA_0-1726875354187.png

 

how can we then adjust the shape so it has the same shape as on the cans? thanks