Shopify themes, liquid, logos, and UX
Hello,
I am looking for some help with changing the color for the "image with text overlay section."
I had changed the header to white for the desktop view, but I wanted to change the mobile view to black so It is visible. I have attached some screenshots to help explain what I am talking about.
The link to the website page is.
https://clairamor.com/pages/halo-engagement-rings
Any help is greatly appreciated!
Thank you,
Cameron
Solved! Go to the solution
This is an accepted solution.
Please add the below code above </body> in theme.liquid
online store >> edit code >> theme.liquid
<style>
@media screen and (max-width: 767px) {
h1.overlay-text__title {
color: #000!important;
}
.overlay-text__rte.rte.large-text p {
color: #000!important;
}
}
</style>
after added looks like that
if our solution helpful for you then please like the post and tap on accepted.
if you discuss further information related with shopify you can contact us
Thankyou 🙂
This is an accepted solution.
Please add the below code above </body> in theme.liquid
online store >> edit code >> theme.liquid
<style>
@media screen and (max-width: 767px) {
h1.overlay-text__title {
color: #000!important;
}
.overlay-text__rte.rte.large-text p {
color: #000!important;
}
}
</style>
after added looks like that
if our solution helpful for you then please like the post and tap on accepted.
if you discuss further information related with shopify you can contact us
Thankyou 🙂
Hello,
Thank you for the reply! This worked for the majority of my pages. For my homepage, there was an issue with the smaller text still having the white font on mobile. Is it my Custom CSS thats causing an issue? Here is the link to the page
Hi @diamors ,
Its possible because of the costum css..
Here are some css style to change into balck text.
@media only screen and(max-width: 767.98px){
.overlay-text__rte.rte p {
color: black;
}
}
Result.
I hope it help.
Hi @diamors ,
I understand that you want to change the color for the "image with text overlay section."
@media only screen and(max-width: 767px) {
.overlay-text__rte.rte.large-text p {
color: black;
}
h1.overlay-text__title {
color: black !important;
}
}
I fixed the problem of the text not changing on my homepage. It was because I had deselected "enlarge font" for the image with text overlay section.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey 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, 2024