Slider wrapping last letter of a word to next line
-
Hello. All of a sudden, and for just one article, my slider is wrapping one letter in a word to the next line–but only on my PC, not on a smart phone or iPad. I can attach a photo if you like.
The article is titled ‘Chipotle and Red Bell Pepper Hummus Recipe.’ It’s that last ‘e’ that ends up on the next line.
Here’s what I’ve done:
1. Checked the typing for a space in the title of the document. There is none, which makes sense since this wrapped e does not occur on every device.
2. I cleared my cache and cookies, and still the e drops down one line.
3. Tried viewing the page in different width screens on the pc. No difference.
4. Changed the size of the fonts by doing CTRL+ and CTRL-. The e is wrapped in all views.
Can you help, please?
The blog I need help with is: (visible only to logged in users)
-
Hi there,
Your theme does have in its css to break words if for long titles within that featured slider. That breakpoint is particularly not great, because it uses ‘break word’ as the setting — which allows the browser to break words even if they’re short, like ‘recipe.’
Your title seems to look good if we just set it back to normal:
#featured-content .rp-big-one-content .story{ word-wrap: normal; }Add that code to the CSS editor within your Customizer, and save the changes.
-Alex G.
-
Thank you. That worked. So glad I upgraded to premium so I could fix it–with your help. Much obliged.
- The topic ‘Slider wrapping last letter of a word to next line’ is closed to new replies.