can someone fix the text of my announcement bar

Solved

can someone fix the text of my announcement bar

swawestore
Explorer
117 0 20

the text isn't coming in the centre on my announcement bar https://swawe.store/

Accepted Solution (1)

niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

Hello @swawestore 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .announcement-bar__message {
     padding: 3px 0px 0px 0px !important;
  }

</style>

niraj_patel_0-1725092280820.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Replies 6 (6)

Moeed
Shopify Partner
7080 1903 2333

Hey @swawestore 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.announcement-bar__message {
    padding: 2px 0px 0px 0px !important;
}
</style>

RESULT:

Moeed_0-1725092062071.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


swawestore
Explorer
117 0 20

not coming centre 

niraj_patel
Shopify Partner
2391 516 515

This is an accepted solution.

Hello @swawestore 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .announcement-bar__message {
     padding: 3px 0px 0px 0px !important;
  }

</style>

niraj_patel_0-1725092280820.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
swawestore
Explorer
117 0 20

can you also change my buy it now button to buy now

niraj_patel
Shopify Partner
2391 516 515

see this may be this video help you
https://youtu.be/iviwNjC-bjU?si=4Xc3a5uv313DcmCp

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

Kaushik_7
Shopify Partner
58 45 47

Hello! @swawestore Please follow these steps to add this CSS code:

1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your CSS file. If you have a custom CSS file, open that instead.
5. If you can't find your custom CSS file, open "base.css"
6. Add the following code at the end of the file.

.announcement-bar__message {
    padding: 7px 0px 0px 0px !important;
    white-space: nowrap;
}

 

Kaushik_7_0-1725093133509.png

If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Best regards
Kaushik