BACK

how to make header image 100% opaque shopify

Image Banner as Header Background - DAWN THEME hi everyone in this tutorial we're gonna,make our ima

Made4uo

Updated on Mar 27,2023

Image Banner as Header Background - DAWN THEME

The above is a brief introduction to how to make header image 100% opaque shopify

Let's move on to the first section of how to make header image 100% opaque shopify

Let TThunt's experts help you find the best TikTok product on your Shopify business!

Find TikTok products (It's Free)
No difficulty
No complicated process
Find winning products
3.5K Ratings

WHY YOU SHOULD CHOOSE TTHUNT

TThunt has the world's largest selection of TikTok products to choose from, and each product has a large number of advertising materials, so you can choose advertising materials for TikTok ads or Facebook ads without any hassle.

how to make header image 100% opaque shopify catalogs

Image Banner as Header Background - DAWN THEME

hi everyone in this tutorial we're gonna,make our image bunner as our header,background so this is what we're doing,here so when you go right here,the image should be the background of,the header,and then you can still have the sticky,header,when you scroll down the header should,still work,and then when you go to the other page,the header still gonna work,so to start we're gonna go to our,shopify store in our shopify store we're,gonna go to teams and we're not gonna,edit the live team but if you do wanna,edit your live team just click on,actions and click duplicate and then,edit the duplicated team but for me i,just downloaded dawn team i'm just gonna,click actions and then edit code,and then we're just gonna expand our,screen we're gonna go to our section,folder we're gonna look for heather,liquid,so heather right here,open that,and first we're gonna go is to find our,sticky header right here,and we're gonna delete this,color,section settings color scheme gradient,we're gonna delete that,and then on the bottom we're gonna go to,our javascript code,so right here our javascript code we're,gonna go to our website,and then copy this code right here,and then paste it after the create,observer,so ctrl v to paste right here see my,note right here this is different from,yours so what we're going to do is go to,our customized theme right click,and then open a new tab,and in here we're gonna right click the,banner to open the dev tools so right,click and click inspect,so we see right here we have this banner,so when we hover the banner should get,highlighted,so what we're looking is the section id,for this banner,so we're gonna go up a little bit and we,should find this one right here,so,when we hover on this section,it highlights the banners we're just,gonna right click on this one,and then click copy,and then copy js path make sure you,click this one,and then we're gonna go back to our team,again,and we're gonna just,replace this whole code right here,ctrl v to paste and then add a semicolon,right here,and next we're gonna go to our website,again,and we're gonna grab this code right,here and we're gonna find the on scroll,function,so back to our team code again,we're gonna go to unscroll and we're,gonna paste this code after the const,scroll tab so after this hit enter and,then ctrl v,i'm just gonna highlight this one and,then click tab to reposition,and then click save now we're gonna go,back to our team again,so in here we're gonna right click the,image banner again click inspect,we're gonna look for the banner template,id right here so click that and then,right click,click copy and then this time we're,gonna do copy selector,so we're gonna go back to our code again,and we're gonna go all the way to the,top and in here after the style,we're going to paste the code and then,we're going to have the open curly,bracket and then close um curly bracket,and then we're going to have tap,minus 110 pixels what this one is doing,is just bringing our banner to the top,and then click save,so we're almost done we're just gonna go,to our asset folder,we're gonna open that base that css file,in the asset folder and then we're gonna,look for header wrapper so ctrl f to,find and then we're gonna type header,dash wrapper,so in here we see this background color,right here we're gonna delete that,and then click save,and i believe that's it we're just gonna,go back to our team editor again,and then click refresh,that's it um your header would be on the,top but the announcement bar it would be,a different one so,you just have to hide this,announcement bar or just change the,color but,this is how we have our header so let's,put an image in here so select an image,and let's do this one,and then click save okay and that is,working and if you don't want that,spacer right here,you're just gonna go,go to the header,and then,unclick the show separator line so that,should be working the sticky header,should be working as well and if we go,to the other page it should still work,okay and that's it let me know if you,have any questions don't forget to,subscribe thank you so much for watching

Congratulation! You bave finally finished reading how to make header image 100% opaque shopify and believe you bave enougb understending how to make header image 100% opaque shopify

Come on and read the rest of the article!

Browse More Content