Hi there,
I would like to add a breakpoint(< br >) into a sentence only for the mobile display.
Would anyone tell me how to make it on Webflow?
Because the long sentence breaks at a wired point to fit the width of the mobile display, I need to get it make more sense.
I suppose I have to edit html to add < br > and set "display: none; " for PC display, but is it possible on Webflow?
This is the PC appearance. No problem.
Like this, I need a breakpoint only on mobile.
but the below is what I currently get on mobile.
Your help will be very much appreciated!
Thank you.
1 Like
Sonja_Jung
(Sonja Jung)
January 20, 2019, 10:10am
2
Ou! Iâm interested in that, too
1 Like
shokoaviv
(Moshe Assulin)
January 20, 2019, 10:19am
3
Hi
Try the âsoft returnâ (shift+enter) after the word âRedâ on the mobile portrait. Btw - if you would share your Read-Only-link I could test it for You
1 Like
Sonja_Jung
(Sonja Jung)
January 20, 2019, 10:20am
4
Hey,
i think changes in the text will always affect all breakpoints, so this wonât work
1 Like
Thank you for your help, Mr. @shokoaviv !
but @Sonja_Jung is right, the change affects all. ;(
shokoaviv
(Moshe Assulin)
January 20, 2019, 10:29am
6
Hi
You might try the âpaddingâ to force A break line
1 Like
Thank you so much! I didnt give it a think. this is kind of forcible way, but it works and its easy!
1 Like
bro-design
(Dmitrii Tregubov)
January 20, 2019, 3:27pm
8
Also you can use non-breaking space â Shift+Space
Dids
(D Jones)
January 20, 2019, 8:06pm
9
Add the read-only link, I promise not to steal your idea or tell anyone (as long as it has nothing to do with knowing the secrets to a womanâs mind, then iâll steal it for myself). I already have a solution but I wanna try it first.
webdev
(Jeff Selser)
January 20, 2019, 8:34pm
10
A better solution would be to take your heading then apply a text span to a portion of it. Give it a class, then set it to inline block on mobile.
1 Like
Kana_Sano
(Kana)
January 21, 2019, 12:29am
11
@webdev thank you for replying. In that case, how are we supposed to do it on Webflow? Do we have to go to Embed Html Code Editor?
webdev
(Jeff Selser)
January 21, 2019, 12:32am
12
No. It is described here.
Look at âWrapping a text in span to style it furtherâ.
1 Like
Kana_Sano
(Kana)
January 21, 2019, 12:49am
13
@webdev
This is the best solution!
Thank you very much, finally I made it ^^
@Kana_Sano please mark @webdev answer as solution (the inline-block span trick) - to close this topic (& for future searches about this). Thanks
2 Likes