Shopify themes, liquid, logos, and UX
No matter what code I try to input from searching previous people who've had the same issue, I cannot get this announcement bar text to center on the mobile view. Any help is appreciated.
https://np09cy3x2pk6tcl4-89214681390.shopifypreview.com
Solved! Go to the solution
This is an accepted solution.
Hello @AndreaH3737
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.announcement-bar__message {
text-align: center !important;
}
This is an accepted solution.
Hello @AndreaH3737
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.announcement-bar__message {
text-align: center !important;
}
Thank you!
Hello @AndreaH3737
Thank you for your response. It's good to know that it's worked for you. Kindly feel free to get back to me if you need any further assistance.
If helpful then please Like and Accept Solution.
hi apply this css
p.announcement-bar__message.h5 {
text-align: center;
}
p.announcement-bar__message.h5 span {
display: inline-block;
text-align: center;
}
Hi @AndreaH3737,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
#shopify-section-sections--23617540784430__announcement-bar .announcement-bar__message {
text-align: center !important;
}
Hi @AndreaH3737
@meida screen and (max-width: 768px){
#shopify-section-sections--23617540784430__announcement-bar p.announcement-bar__message {
text-align: center !important;
}
}
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024