Title: [Plugin: WP-dTree] Word/Text wrap
Last modified: August 19, 2016

---

# [Plugin: WP-dTree] Word/Text wrap

 *  [beaglette](https://wordpress.org/support/users/beaglette/)
 * (@beaglette)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-wordtext-wrap/)
 * My titles for categories are too long and are being truncated. Is there anyway
   to make them wrap to the next line?
 * Pretty please??

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [ulfben](https://wordpress.org/support/users/ulfben/)
 * (@ulfben)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-wordtext-wrap/#post-944731)
 * No. If suddenly one line was wrapped over two lines the entire tree layout would
   break.
 * Yes. If you can live with that and manage your own CSS.
 *  [andy_woz](https://wordpress.org/support/users/andy_woz/)
 * (@andy_woz)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-wordtext-wrap/#post-944887)
 * This may or not work for you but I’ve succeeded with this CSS hack:
 *     ```
       #dtreec a.node, #dtreea a.node, #dtreep a.node, #dtreel a.node, #dtreec a.nodeSel, #dtreea a.nodeSel, #dtreep a.nodeSel, #dtreel a.nodeSel {
       	white-space: normal;
       	line-height: VALUE;
       	padding-bottom: VALUE;
       	display:block;
       	margin:-20px 0 0 20px;
       }
       ```
   
 * You’ll need to adjust the margins of some of the other child nodes but this seems
   to work pretty well in all the latest browsers. IE6 looks a little funky but 
   it’s still usable. You’ll need to tweak VALUE to your own needs as well as the
   margins to get the anchor to line up with any graphics. It’s a hack and it works
   on a case by case basis only. I can’t guarantee anything but it’s a start if 
   you’re looking for a direction to look in.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP-dTree] Word/Text wrap’ is closed to new replies.

## Tags

 * [WP-dTree 3.0](https://wordpress.org/support/topic-tag/wp-dtree-3-0/)

 * 2 replies
 * 3 participants
 * Last reply from: [andy_woz](https://wordpress.org/support/users/andy_woz/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-wordtext-wrap/#post-944887)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
