How Do I aligned social media icons so they display properly on desktop and mobile devices?

Hi,

I’ve successfully added social icons to the announcement bar. They look really great on the desktop but are misaligned on mobile. How do I edit the code to have them aligned properly and optimized on all mobile devices? I have been trying to figure this out, but can’t seem to wrap my brain around it. Any assistance would be greatly appreciated. By the way, I’m using the Dawn theme.

Here is the code:

Goes in the announcement bar liquid file

Goes in base.css file

.announcement-bar.color-accent-1.gradient {

display: flex !important;

justify-content: space-between !important;

}

This code reduces the height of the announcement bar

ul.footer__list-social.list-unstyled.list-social {
float: right;
width: 82%;
}
.announcement-bar.color-accent-1.gradient {
display: flex;
}

Hi @Fantasy
Thank you for your question.
Please share your store URL, page URL and also password (if your store has one) so we can help you.

Hi, @ExpertRookie

! have temporarily removed the code because of its misalignment on mobile. The code provided is how I added it to my website www.melanincrown.com There isn’t a particular page URL as the icons will be in the announcement bar so they can display sitewide. The store is not password-protected. It is live. Thanks for your reply. I hope you can assist.