All things Shopify and commerce
Hi everyone,
I wanted to make my menu items in 1 line in my navigation mennu and also move the Search,Cart, and log in icon to the right. Is there a way to do it? See photo for reference:
Store Preview Url: https://1r0c4mtux8ldg2yl-13830324282.shopifypreview.com
Solved! Go to the solution
This is an accepted solution.
header.header {
margin: 0 !important;
min-width: 100% !important;
}
@media screen and (min-width: 990px){
header.header {
display: flex!important;
justify-content: space-between!important;
}
h1.header__heading > a.header__heading-link {
margin-left: 0 !important;
}
.list-menu--inline li summary {
margin-right: 20px !important;
}
summary.header__menu-item.list-menu__item .icon-caret{
right: -1rem !important;
}
}
@IntechCarl
this is full code, please check it again
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Hi @IntechCarl , you can follow these steps:
Step 1: Open Online Store -> Themes -> Edit code.
Step 2: Find component-card.css file
Step 3: Paste this code at the bottom of the file
header.header {
margin: 0 !important;
min-width: 100% !important;
}
@media screen and (min-width: 990px){
h1.header__heading > a.header__heading-link {
margin-left: 0 !important;
}
}
If this is helpful, please let us know by giving us a like and marking it as a solution. Thank you 😍
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
@B2Bridge Thank you for your response, the code works, but I have a question. Can I move the menu items a little bit closer to the search? and also the dropdown arrow seems like it is overlapping with the menu item title? See photo for reference:
Hi @IntechCarl
I have adjusted the dropdown arrow, and in my opinion, the menu items should be placed next to the logo it looks better that way.
full code is:
header.header {
margin: 0 !important;
min-width: 100% !important;
}
@media screen and (min-width: 990px){
h1.header__heading > a.header__heading-link {
margin-left: 0 !important;
}
.list-menu--inline li summary {
margin-right: 20px !important;
}
summary.header__menu-item.list-menu__item .icon-caret{
right: -1rem !important;
}
}
If this is helpful, please let us know by giving us a like and marking it as a solution. Thank you 😍
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
I just wanted to fill the gaps on the right side of the menu list
This is an accepted solution.
header.header {
margin: 0 !important;
min-width: 100% !important;
}
@media screen and (min-width: 990px){
header.header {
display: flex!important;
justify-content: space-between!important;
}
h1.header__heading > a.header__heading-link {
margin-left: 0 !important;
}
.list-menu--inline li summary {
margin-right: 20px !important;
}
summary.header__menu-item.list-menu__item .icon-caret{
right: -1rem !important;
}
}
@IntechCarl
this is full code, please check it again
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025