Hi there!
I am trying to change the background menu to black , add divider and I want it to occupy the fully width but I can’t seem to do it.
Store link - https://1bc201-61.myshopify.com/
password: eashal
I wanted to make it something like this -
Hi there!
I am trying to change the background menu to black , add divider and I want it to occupy the fully width but I can’t seem to do it.
Store link - https://1bc201-61.myshopify.com/
password: eashal
I wanted to make it something like this -
Hello @atomicshinji
Navigate to customize > theme settings> custom CSS and paste the below code .
.header__inline-menu {
background-color: black;
border-bottom: 2px solid #ffffff;
width: 100%;
max-width: 100%;
margin: 0;
padding: 0;
}
.header__inline-menu, .header {
width: 100%;
}
Hi @atomicshinji !
You can achieve the menu design changes you want by following these steps:
Access Theme Customization:
Edit the base.css File:
Add the Following Code: Paste the code below at the bottom of your base.css file:
/* Make menu items take full width / .header__inline-menu { width: 100%; } .list-menu.list-menu–inline { width: 100%; display: flex; justify-content: space-between; } / Make each menu item grow equally / .list-menu–inline > li { flex: 1; text-align: center; } / Keep menu items text centered / .header__menu-item { text-align: center; } / Adjust search input width / .search__input.field__input { padding-right: 9.8rem; width: 120vh !important; } / Set menu background color */ .gradient { background: black !important; }
Look for the cart SVG icon in your theme files. You can search for the
Replace the fill attribute with #ffffff or ensure the following code is added to the
Update the SVG Icon:
Save and Preview:
This should give you the desired result, including a black background for the menu, full-width layout, centered text, and a white cart icon. Let me know if you encounter any issues, I’d love to make the changes in your store.
Thanks,
Shubham | Untechnickle
Hi there!
This didn’t work as well, it made my website full black.
I only want to change this part -
Hey @atomicshinji ,
Can you DM the collaborator code, I’ll make the changes in a jiffy. It’s a little tough to explain where to change what.
Looking forward to your response,
Shubham | Untechnickle
It makes the text black as well. Please use the below code, I make the text color white .
.header__inline-menu {
background-color: black;
border-bottom: 2px solid #ffffff;
width: 100%;
max-width: 100%;
margin: 0;
padding: 0;
color: white;
}
.header__inline-menu a {
color: white;
}
.header__inline-menu, .header {
width: 100%;
}
Thank you so much for your assistance! I changed my mind and change the overall color.
Thank you so much for your replies and assitance!
I changed my mind and change the overall color.