Header menu bar to have a white background

Solved

Header menu bar to have a white background

vibehome
Explorer
71 4 31

Hi Shopify friends,

 

A while ago I wanted to have the banner image merge into the search bar (Like photos attached) but I would like it not to anymore as its not very clear for the search and menu.

 

Does anyone know how to get it to stop the banner image merging into the top search menu and have a small white background strip so its nice and clear for people to click on the main menu.currently its like this.pngwould like it to be more like this so its clear.png

Accepted Solution (1)
BSSCommerce-HDL
Shopify Partner
2305 835 909

This is an accepted solution.

Hi @vibehome

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
@media screen and (min-width: 750px) {
  section#shopify-section-template--22039144890642__4c378c50-1929-4a39-ba68-9910b92141eb {
     transform: translateY(145px);
  }
}
</style>

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 12 (12)

BSSCommerce-HDL
Shopify Partner
2305 835 909

Hi @vibehome, You mean like this: 

BSSCommerceHDL_0-1724684759302.png

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

vibehome
Explorer
71 4 31

Hi @BSSCommerce-HDL  Yes that would be great 😁

BSSCommerce-HDL
Shopify Partner
2305 835 909

This is an accepted solution.

Hi @vibehome

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
@media screen and (min-width: 750px) {
  section#shopify-section-template--22039144890642__4c378c50-1929-4a39-ba68-9910b92141eb {
     transform: translateY(145px);
  }
}
</style>

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

vibehome
Explorer
71 4 31

Hi I have just done that. Thanks that just what I wanted.

 

Can the font be changes to black?

would like it to be more like this so its clear.pngScreenshot 2024-08-26 at 16.36.43.pngScreenshot 2024-08-26 at 16.36.36.png

Also the collection section has merged in the image? screen shots attached.

BSSCommerce-HDL
Shopify Partner
2305 835 909

Hi @vibehome, Pls replace old code to this new code: 

 

{% if template.name == 'index' %}
<style>
@media screen and (min-width: 750px) {
  section#shopify-section-template--22039144890642__4c378c50-1929-4a39-ba68-9910b92141eb {
        margin-top: 145px;
  }
  sticky-header .header li, sticky-header .header a, sticky-header .header span, sticky-header .header svg, sticky-header .header p {
    filter: none !important;
    color: black !important;
  }
}
</style>
{% endif %}

 

Here is result:

BSSCommerceHDL_0-1724687212228.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you  😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

vibehome
Explorer
71 4 31

Thank you so much! Thats excellent!!😁

BSSCommerce-HDL
Shopify Partner
2305 835 909

@vibehome, No problem. Glad to help you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

vibehome
Explorer
71 4 31

Hey again, the drop down boxes have a clear background. Can we have this drop down box light grey (

colour code D8D8D8 - with black writing which it already it please Screenshot 2024-08-26 at 17.21.20.pngScreenshot 2024-08-26 at 17.21.28.png

vibehome
Explorer
71 4 31

@BSSCommerce-HDL  for all drop down on website please 

BSSCommerce-HDL
Shopify Partner
2305 835 909

Hi @vibehome

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
details[open] .header__submenu {
    background-color: #D8D8D8 !important;
}
</style>

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you  😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Made4uo-Ribe
Shopify Partner
10132 2403 3037

Hi @vibehome 

Do you mean like this? 

Made4uoRibe_0-1724686048849.png

You add some over ride code in your theme.liquid. Check this one one if it work. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes"

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

 

<style>
sticky-header {
    background-color: white !important;
    transition: all 300ms !important;
}
.section-header {
    top: 0px !important;
    margin-bottom: 0 !important;
}
sticky-header li,
sticky-header a,
sticky-header span,
sticky-header svg,
sticky-header p {
    color: black !important;
}
</style>

 

And Save. 

If this code wont work you need to take out some code on the theme.liquid. 

 

 

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.
vibehome
Explorer
71 4 31

Hi there, could it be more like this (screen shot attached) we like it to be more plain if possible. Screenshot 2024-08-26 at 16.44.40.png