Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #906132

    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

    #906226

    Hey Jasmer,

    Can you try using a class name instead of style, then apply the style in Quick CSS?

    Best regards,
    Nikko

    #906363

    Sure can you post the CSS? Then I’ll try it. That is what I am asking for.

    Thanks,

    Jas

    #906616

    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

    #906693

    Solved! Thanks Nikko! Much Appreciated! Jas

    #906709

    Hi Jas,

    You’re welcome! Thanks for using Enfold, have a great day! :)

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Nowrap Special Heading Heading Text On Mobile’ is closed to new replies.