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>
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
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>
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
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>
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
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>
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify 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, 2025