SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently, my page titles in the quick launch bar are wrapping in the middle of the text. My objective is to have the word not be broken into two. However, I do not want to change the Master page. So, can I use a Script Editor to fix this issue? If so, would it script to change the title or the quick launch bar? By the way, I only want this to appear on one page not all, therefore, I thought a script editor web part for that page would be the easiest, but I am not sure if it's possible. For example, please view the images below. Thank you for your help! I really appreciate it.

Before enter image description here

After enter image description here

UPDATE I tried this code in a script editor. Not working. Can you tell me what I have done wrong? Thanks!

<style type ="text/css">
  .menu-item-text span { word-wrap: normal; } 

<span class="menu-item-text">
  <span>SharePoint 2013 Workflows</span>
share|improve this question
I'm runing SP build 15.0.4569.1000 and links in Quick Launch are properly word wrapped: – Slaven Semper Nov 15 '14 at 16:31
up vote 1 down vote accepted

This can be controlled with the word-wrap CSS property (see Basically, just set the "word-wrap" style to "normal" on the element containing the text.

share|improve this answer
Thank you, John Chapman. So, I would add the following into the script editor: <style type="text/css"> .ms-tag //place the quick launch bar tag here {Word-Wrap: normal ;} </style> – SharePoint Lady Nov 5 '13 at 18:08
Yes, something to that effect. If the style tag gets stripped out of the script editor, you can use a content editor web part. You may have to experiment a little with which class to target (you can use the IE Developer Toolbar, FireFox FireBug, or the Chrome Developer Console to test it on the page before actually applying it to the site). – John Chapman Nov 5 '13 at 18:28
Thank you, John Chapman. I updated the question with the code. For some reason it's not working. I am still testing. Thanks. – SharePoint Lady Nov 6 '13 at 15:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.