All things Shopify and commerce
Hello everybody.
I have added a header in shopify but unfortunetly in spans across two rows. First row is the icon, the second row is the menu and the cart.
How can I make this on one line on both mobile and desktop?
I would really appreciate any suggestions since programming isn't my strongest skill.
Thank you!
https://repharma.bg/products/joint-cure
Solved! Go to the solution
This is an accepted solution.
@repharma,
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above </body>
<style>
header .container-fluid .row {
display: flex!important;
justify-content: space-between;
}
@media only screen and (max-width: 576px) {
header .logo-alignment #AccessibleNav {
gap: 0!important;
}
}
</style>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
@repharma , change the previous code like this
<style>
header .container-fluid .row {
display: flex!important;
justify-content: space-between;
}
@media only screen and (max-width: 576px) {
header .logo-alignment #AccessibleNav {
gap: 0!important;
}
}
@media only screen and (max-width: 767px) {
#AccessibleNav .logo {
transform: scale(0.8);
margin-left: -40px
}
}
</style>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
@repharma,
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code above </body>
<style>
header .container-fluid .row {
display: flex!important;
justify-content: space-between;
}
@media only screen and (max-width: 576px) {
header .logo-alignment #AccessibleNav {
gap: 0!important;
}
}
</style>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Fanastic!
Can you just help me to make the logo on a mobile smaller?
Thanks! ❤️
This is an accepted solution.
@repharma , change the previous code like this
<style>
header .container-fluid .row {
display: flex!important;
justify-content: space-between;
}
@media only screen and (max-width: 576px) {
header .logo-alignment #AccessibleNav {
gap: 0!important;
}
}
@media only screen and (max-width: 767px) {
#AccessibleNav .logo {
transform: scale(0.8);
margin-left: -40px
}
}
</style>
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024