Tagged: special heading
Hi guys,
How do I no wrap this with quick CSS? > New York · Kansas City · Los Angeles
On a mobile device, it wraps. I’d like it to no wrap on all mobile devices and desktop browsers.
I tried adding this HTML, and it did no wrap but it wasn’t centered.
<div style=”white-space:nowrap”>New York · Kansas City · Los Angeles</div>
Thanks,
Jas
Hey Jasmer,
Can you try using a class name instead of style, then apply the style in Quick CSS?
Best regards,
Nikko
Sure can you post the CSS? Then I’ll try it. That is what I am asking for.
Thanks,
Jas
Hi Jas,
Can you try using this html code:
<div class="cities">New York · Kansas City · Los Angeles</div>
then add this css code:
.cities {
white-space: nowrap;
}
@media only screen and (max-width:767px) {
.cities {
margin-left: -7.5%;
margin-right: -7.5%;
font-size: 15px;
}
}
Hope this helps.
Best regards,
Nikko
Solved! Thanks Nikko! Much Appreciated! Jas
Hi Jas,
You’re welcome! Thanks for using Enfold, have a great day! :)
Best regards,
Nikko