WordPress.org

Ready to get started?Download WordPress

Forums

WP-dTree
[resolved] Styling the "open all | close all" link (8 posts)

  1. laptophobo
    Member
    Posted 2 years ago #

    I really like your plugin. I'm hoping to style it more to my liking. I did visit the wp-dtree.css file to see how I might be able to style only the open/close option at the top of the tree. Had no luck.

    Is it possible? If so, could you point me to the CSS style, and/or supply a working example?

    Thanks much!

    http://wordpress.org/extend/plugins/wp-dtree-30/

  2. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    From wp-dtree.css:

    .oclinks { /*the open/close links*/
    	display:none; /*to be revealed only if javascript is on!*/
    }
    .oclinks_sep{ /*the open/close link separator*/
    
    }

    Read The Friendly Manual.

  3. laptophobo
    Member
    Posted 2 years ago #

    Hi. Thanks for the quick reply.
    Yup, I tried that one. Firstly, with "display:non" wouldn't that make the link invisible? As for the "javascript being 'on'" I don't know what that means.

  4. laptophobo
    Member
    Posted 2 years ago #

    But, in the end, nothing I do in CSS now alters the open/close link.

    Any idea what might be preventing the styles from working?

  5. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    Imagine how much time you'd save us both if you just

    Read The Friendly Manual.

  6. laptophobo
    Member
    Posted 2 years ago #

    I did. It's my third time at it. And it's really not a manual, unless there's a hidden link there someplace on that basic instruction page to an actual manual. So, yes, I've already copied and pasted the wp-dtree.css into my permanent style sheet and have tried tweaking the .oclinks style (without success). But if there is an actual "Friendly Manual" (you know, instead of a snarky reply to one), I'd be pleased as hell to go through it.

    Thanks again for the plugin. Very useful for CMS sites.

    Warmly,

  7. laptophobo
    Member
    Posted 2 years ago #

    I found a solution. (So, please don't worry about me.)

    Instead of .oclinks I used #oclinks_pge1 as so:

    #oclinks_pge1 a{
    font-size: 9px !important;
    font-style:italic;
    color: #555 !important;
    }
  8. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    Did you also disable the default stylesheet in the WP-dTree settings panel?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic