Hi, how can I set the footer text to white on mobile?
Specifically, I want to:
- Set all links under “STORE” and “LEGAL” to white.
- Change the text under the newsletter: “Stay up to date with the new collections, products and exclusive offers.” to white.
- Make the email container white as well.
It’s already working on desktop, so I only need this for mobile.
Here’s my store URL: https://1049xn-ya.myshopify.com/
Thanks,
Tim
1 Like
Hi @CreatorTim
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (max-width: 749px){
.footer-block__details-content .list-menu__item--link,
.footer-block__newsletter p.newsletter-title {
opacity: 1;
color: white !important;
}
.newsletter-form__field-wrapper .field__input {
background: white;
}
.newsletter-form__field-wrapper label.field__label, .newsletter-form__field-wrapper .field__button {
color: black !important;
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
1 Like
Hi @CreatorTim
To complete your requests, please follow these steps:
- Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
- Paste the code provided into the Custom CSS section.
@media screen and (max-width: 768px){
footer.footer * {
color: white !important;
}
}
Here is the result:
I hope this helps
Best,
Daisy
1 Like