How can I allign header items in one row in Shopify Marijuana theme?

Solved

How can I allign header items in one row in Shopify Marijuana theme?

repharma
New Member
4 0 0

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

repharma_0-1725003876265.png

repharma_1-1725003899832.png

 




Accepted Solutions (2)

BSSCommerce-B2B
Shopify Partner
1199 311 369

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


BSS Commerce - Full-service eCommerce Agency

View solution in original post

BSSCommerce-B2B
Shopify Partner
1199 311 369

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>

BSSCommerceB2B_0-1725033175447.png

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


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 3 (3)

BSSCommerce-B2B
Shopify Partner
1199 311 369

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


BSS Commerce - Full-service eCommerce Agency
repharma
New Member
4 0 0

Fanastic!
Can you just help me to make the logo on a mobile smaller?

Thanks! ❤️ 

repharma_0-1725019133871.png

 

BSSCommerce-B2B
Shopify Partner
1199 311 369

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>

BSSCommerceB2B_0-1725033175447.png

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


BSS Commerce - Full-service eCommerce Agency