This is an easy one…I think.
For the layerslider on the iPhone you’ll see the copy gets cut off.
How can I have this wrap to a new line rather than get cut? Any thoughts?
Thanks!
Hey Justin,
Can you post a screenshot on this? I’m using an emulator and nothing gets cut on the layerslider upon checking the link you have given.
Best regards,
Nikko
Look at this Nikko.
I added a class to the layerslider to reduce the font-size, but even then … see what’s happening with the text? It gets cut off.
I don’t want to reduce this any further in size.
Hi!
Thank you for the info.
Define the width or decrease the font size of the layer on mobile view. I checked the Attributes panel of the “title” layer inside “Slide #3” but I don’t see any custom css class or id there. What do you mean by “I added a class to the layerslider”?
Regards,
Ismael
Hi Ismael, the ID is defined here (see link)
And within the slide settings where there’s the <h1> and the <p> the scale is defined to accommodate ..I cannot go any smaller on the h1, it will wrap. Does that make sense or? I may just <br> it where the text falls off the page? I just don’t understand why it doesn’t automatically word wrap on the phone
Hi,
Yes that makes sense however, word-break doesn’t seem to work when I tried, I think the workaround for it is what you suggested to use
, then hide it on desktop and show it mobile by adding this in Quick CSS:
#top #wrap_all .ls-wp-container .ls-slide br {
display: none;
}
@media only screen and (max-width:767px) {
#top #wrap_all .ls-wp-container .ls-slide br {
display: block;
}
}
Let us know if the it works.
Best regards,
Nikko
Nikko, thank you. I have made a mental note of this.
For now,I moved forward with using the states abbreviations to shorten the titles.
Thanks
Hi Justin,
Glad we could help :)
Best regards,
Nikko