How can i move the text in the annoucement bar to the left ?

Solved

How can i move the text in the annoucement bar to the left ?

Martin299
Excursionist
30 1 8

How can i move the text in the annoucement bar to the left ?
thanks in advance
0000000000.PNG

Accepted Solutions (4)

BSSCommerce-HDL
Shopify Partner
1937 678 809

This is an accepted solution.

Hi @Martin299

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.announcement-bar {
    justify-content: start !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1722788476353.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


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
1237 325 381

This is an accepted solution.

Hi @Martin299,
Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file base.css
Step 3. Add this code to the end of file

.announcement-bar {
  justify-content: start!important;
}

 

If it helps you, please like and mark it as the solution.

Best Regards

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
1237 325 381

This is an accepted solution.

Change the code like this

 

<style>
@media only screen and (max-width: 600px) {
  .announcement-bar {
    display: none;
  }
}
@media only screen and (min-width: 601px) {
  .announcement-bar {
    justify-content: start!important;
  }
}
</style>

 

BSSCommerceB2B_0-1722789420869.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

BSSCommerce-HDL
Shopify Partner
1937 678 809

This is an accepted solution.

Hi @Martin299, Please replace with this new code: 

 

<style>
@media only screen and (max-width: 768px) {
  .announcement-bar {
    justify-content: start !important;
  }
}
</style>

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


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 5 (5)

BSSCommerce-HDL
Shopify Partner
1937 678 809

This is an accepted solution.

Hi @Martin299

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

<style>
.announcement-bar {
    justify-content: start !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1722788476353.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Martin299
Excursionist
30 1 8

thank you for you help
how can i show it only in desktop not on mobile ?

BSSCommerce-B2B
Shopify Partner
1237 325 381

This is an accepted solution.

Change the code like this

 

<style>
@media only screen and (max-width: 600px) {
  .announcement-bar {
    display: none;
  }
}
@media only screen and (min-width: 601px) {
  .announcement-bar {
    justify-content: start!important;
  }
}
</style>

 

BSSCommerceB2B_0-1722789420869.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
BSSCommerce-HDL
Shopify Partner
1937 678 809

This is an accepted solution.

Hi @Martin299, Please replace with this new code: 

 

<style>
@media only screen and (max-width: 768px) {
  .announcement-bar {
    justify-content: start !important;
  }
}
</style>

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

BSSCommerce-B2B
Shopify Partner
1237 325 381

This is an accepted solution.

Hi @Martin299,
Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file base.css
Step 3. Add this code to the end of file

.announcement-bar {
  justify-content: start!important;
}

 

If it helps you, please like and mark it as the solution.

Best Regards

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