I have the following in my global CSS:
// Align text center on mobile.
@media (max-width: 767px) {
.cana-center {
text-align: center;
}
}
And then I put cana-center on the class of my text element. I see the class there when I look at it in Chrome dev tools. But it the text-align is not being added when going to smaller than 767px screens.
I’m confident I’m doing something stupid but I’ve been banging my head against this and can’t figure out what I’ve done wrong.