Shopify themes, liquid, logos, and UX
Hey guys,
I would be very happy, if someone could tell me how i change the Text Color, in Mobile Version only in CSS?
This is a code i tried:
Solved! Go to the solution
This is an accepted solution.
Hey, i found a fix.
I used this code:
h2 {
text-align: center;
background-color: white;
border-radius: 0.5em;
padding: 5px 20px 5px 20px;
}
p {
text-align: center;
background-color: white;
border-radius: 0.9em;
padding: 5px 20px 5px 20px;
}
It was really difficult for me but it worked out for me 🙂
Thanks for your help.
Hey,
Please try this code and paste it in theme.css file:
@media screen and (max-width: 640px) {
h2 {
color: #4287f5;
}
}
Thank you
Pooja D.
This is an accepted solution.
Hey, i found a fix.
I used this code:
h2 {
text-align: center;
background-color: white;
border-radius: 0.5em;
padding: 5px 20px 5px 20px;
}
p {
text-align: center;
background-color: white;
border-radius: 0.9em;
padding: 5px 20px 5px 20px;
}
It was really difficult for me but it worked out for me 🙂
Thanks for your help.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025