Title: [Plugin: WP-dTree] Styling divs with same ID
Last modified: August 19, 2016

---

# [Plugin: WP-dTree] Styling divs with same ID

 *  Resolved [nmfrazer](https://wordpress.org/support/users/nmfrazer/)
 * (@nmfrazer)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-dtree-styling-divs-with-same-id/)
 * Ulfben,
    Thanks for a wonderful plug-in. (And now for the but. . .) I’m a complete
   novice, but able to copy and paste fairly well.:) Using Firebug I was mostly 
   able to figure out how to style the tree. At the moment my problem is as follows.
 *  The first line in my tree reads ‘March 2011.’ Under this begins the list of 
   my posts, the first being titled ‘home test post,’ the second, ‘gallery test 
   post,’ the third, ‘charities test post,’ etc. I changed the styling between ‘
   March 2011’ and ‘gallery test post,’ etc. The work around I used on the rest 
   of the list was ‘.dtNode + div’. I’m not sure if this is correct, but it did 
   work-lol. However, ‘home test post’ retains the styling of ‘March 2011.’ In Firebug,
   it appears the ‘March 2011’ and ‘home test post’ have the same div (dtNode).
 *  Is there a work around to separate the styling between these two? I’ve really
   learned a lot from the forum, but have been unable to find this answer. I have
   the current version of the plugin and of WordPress. Any help or a direction to
   go in would be greatly appreciated.
 * P.S. Sorry for being so ‘long-winded.’
 * [http://wordpress.org/extend/plugins/wp-dtree-30/](http://wordpress.org/extend/plugins/wp-dtree-30/)

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

 *  Plugin Author [ulfben](https://wordpress.org/support/users/ulfben/)
 * (@ulfben)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-dtree-styling-divs-with-same-id/#post-2028094)
 * Sorry, I can’t help with styling issues.
 * I’m very interrested in making the dtree output more CSS friendly though, so 
   suggestion on classes / ids are very velcome.
 * Note that the underlying HTML is fixed (that is – unless you’re willing to re-
   rig the entire dtree engine) so suggestions for improving the markup are not 
   helpfull.
 *  Thread Starter [nmfrazer](https://wordpress.org/support/users/nmfrazer/)
 * (@nmfrazer)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-dtree-styling-divs-with-same-id/#post-2028097)
 * Thanks for the quick reply. If I come up with something, I’ll let you know. Thanks
   again for the great work. I’m going to mark this as resolved since it is not 
   an issue with the workings of the plugin.

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

The topic ‘[Plugin: WP-dTree] Styling divs with same ID’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-dtree-30_fcfcf8.svg)
 * [WP-dTree](https://wordpress.org/plugins/wp-dtree-30/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-dtree-30/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-dtree-30/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-dtree-30/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-dtree-30/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-dtree-30/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [nmfrazer](https://wordpress.org/support/users/nmfrazer/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-dtree-styling-divs-with-same-id/#post-2028097)
 * Status: resolved