Re: 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
2305 848 1064

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

BSSCommerce-B2B
Shopify Partner
1749 533 592

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

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

View solution in original post

BSSCommerce-B2B
Shopify Partner
1749 533 592

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

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

View solution in original post

BSSCommerce-HDL
Shopify Partner
2305 848 1064

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 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 5 (5)

BSSCommerce-HDL
Shopify Partner
2305 848 1064

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

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
1749 533 592

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

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

BSSCommerce-HDL
Shopify Partner
2305 848 1064

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 😍

 

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

BSSCommerce-B2B
Shopify Partner
1749 533 592

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

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