vertically centre text in the announcement bar

Solved

vertically centre text in the announcement bar

Duyen2972
Visitor
3 0 0

Duyen2972_0-1707545551201.png

Hello! The text in my announcement bar is not vertically centered. Can someone help me fix this? I want it to be vertically centered like this website: https://www.ahaselected.com/

 

And this is my store link: https://www.dearprincess.shop/

Thank you!

Accepted Solution (1)

Zeel-prajapatii
Shopify Partner
138 32 27

This is an accepted solution.

Hey @Duyen2972 please add the below css code to the "base.css" file.

 

.announcement-bar__message{
  padding-top:13px;
}
➔ Was I helpful , please don't forget to like and mark solution as an accepted solution , you can PM me.
➔ Software engineer : Having more than 3 years of experience in the related industry with the specialization of Shopify theme development , worked on hundreds of stores.
➔ Want to hire me? Email me

View solution in original post

Replies 2 (2)

Zeel-prajapatii
Shopify Partner
138 32 27

This is an accepted solution.

Hey @Duyen2972 please add the below css code to the "base.css" file.

 

.announcement-bar__message{
  padding-top:13px;
}
➔ Was I helpful , please don't forget to like and mark solution as an accepted solution , you can PM me.
➔ Software engineer : Having more than 3 years of experience in the related industry with the specialization of Shopify theme development , worked on hundreds of stores.
➔ Want to hire me? Email me

Duyen2972
Visitor
3 0 0

This works well. Thank you!