WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP-dTree] Text Wrap

[Plugin: WP-dTree] Text Wrap

  • HI – just checking to see if any type of text wrap was in the works. The menu works great but my 2nd column is only 200px wide and about half of each article title gets truncated.

    Thanks,
    David

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hey – following up to see if there’s a workaround or any plans in the works to include this feature.

    Thanks

    Try WP-dTree 4.0 and delete the white-space:nowrap; line from its css.

    HI ulfben and thanks. That definitely helped. Not being too versed in css, is there any way to adjust the list margins so the wrapping line is aligned with the top line? I tried your option for disabling WP-dTree’s css and working from my Thesis css but I couldn’t find where that list element is controlled.

    David

    Try using the Chrome browser and its “Inspect element”-feature. It allows you to click any element of a page, to see and adjust all it’s properties (incl. CSS).

    Keep us posted.

    I have the plugin and it works really well! Can you tell me what I should look for that will control the list wrap for your plugin?

    Thanks,
    David

    I have the same problem, longer page titles are wrapping back across the tree, which looks a bit like this:

    +— the link thats too long
    and has to wrap

    Which isn’t too tidy to my eyes. Tried the css removal to no avail. Tried the kitchen sink too….!?!?!?!?!? Help!

    display: inline-block; fixed it for me

    see this page

    CSS display: inline-block: why it rocks, and why it sucks

    Not so compliant in ancient versions of IE but what is?

    hafman [or anyone :] any chance you could provide specific use of display: inline-block; … i haven’t been able to get the long titles to wrap within the list width.

    help would be most fully appreciated 🙂

    msdeadlines, it seems in your theme all you have to do is disable WP-dTree’s default stylesheet. Do it from Settings -> WP-dTree

    If you want to edit the styling further, read the documentation.

    hi ulf

    thanks so much for your response. yes i have disabled WP-dTree’s default stylesheet and am working with the theme stylesheet. however my css knowledge is not to the point where i’ve been able to troubleshoot the category title line wrap issue 🙁

    any additional help would be appreciated … or a link to a WordPress/WP-dTree site where the category title line wrap is implemented so i could take a look at the effective css would also be great :]

    ta for now

    — joyce

    hello Joyce,
    The css rules i used are:

    .node {
    	display: inline-block;
    	vertical-align: top;
    	max-width: 250px;
    	min-height: 20px;
    	padding-bottom: 10px;
    	/* For IE 7 */
    	*zoom: 1;
    	*display: inline;
    }

    There is supposed to be a hack for IE 7 but i’m not sure it works. I don’t have a copy of that browser available. I left in just in case. Hope that helps.

    – Nick

    rockin! thanks nick 🙂

    yes seems to work with IE 7 too, using Adobe BrowserLab to verify.

    thanks much!

    — joyce

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: WP-dTree] Text Wrap’ is closed to new replies.