Header menu bar to have a white background

Solved

Header menu bar to have a white background

vibehome
Explorer
65 2 26

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
1902 660 791

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 😍

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 12 (12)

BSSCommerce-HDL
Shopify Partner
1902 660 791

Hi @vibehome, You mean like this: 

BSSCommerceHDL_0-1724684759302.png

 

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
vibehome
Explorer
65 2 26

Hi @BSSCommerce-HDL  Yes that would be great 😁

BSSCommerce-HDL
Shopify Partner
1902 660 791

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 😍

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
vibehome
Explorer
65 2 26

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
1902 660 791

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  😍

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
vibehome
Explorer
65 2 26

Thank you so much! Thats excellent!!😁

BSSCommerce-HDL
Shopify Partner
1902 660 791

@vibehome, No problem. Glad to help you 😍

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
vibehome
Explorer
65 2 26

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
65 2 26

@BSSCommerce-HDL  for all drop down on website please 

BSSCommerce-HDL
Shopify Partner
1902 660 791

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  😍

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


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

Made4uo-Ribe
Shopify Partner
7609 1833 2245

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
vibehome
Explorer
65 2 26

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