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

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

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 tag:


Here is result:

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 :heart_eyes:

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

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

Change the code like this


Hi @Martin299 , Please replace with this new code:


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 :heart_eyes: