WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Threaded comments problem with 2cDarkGrey theme (3 posts)

  1. JoseChung
    Member
    Posted 8 years ago #

    WordPress is installed, I'm using the 2cDarkGrey theme, and I'm in the midst of tweaking and customizing it so it'll look and behave the way I want it to. Everything's going great, except for one tiny detail in Brian's Threaded Comments mod. (Actually, the combined Paged and Threaded hack.)

    If you head on over to http://beingcharliekaufman.com/wordpress/2006/04/09/lengthy-test-post/#comments you'll see that the icon beside the words "Comment by" is too large. It's supposed to be a + or - sign inside a square. The image is generated using php, which is beyond me.

    I've tried altering some of the css, shrinking the image's size from 13px to about 8, and that didn't appear to have an effect. I've tried deleting all "comment" styles from the 2cDarkGrey theme (relying on just the ones inside the Threaded & Paged hack files), to no avail.

    Any suggestions? Or is this just a glitch between 2cDarkGrey and Threaded & Paged? (FYI, I've also tested Threaded & Paged against 2cDarkGrey without touching any of the files -- no customization on my part whatsoever -- and the same bug occurs.)

    Cheers,
    Mick

    PS... I would ask Brian himself, but his site never loads up for me.

  2. Aleister
    Member
    Posted 8 years ago #

    Using the FireFox extension to edit the CSS of web pages in real-time, I changed this:

    .comment .collapseicon
    {
    width: 13px;
    height: 13px;
    overflow: hidden;
    background-image: url(http://beingcharliekaufman.com/wordpress/wp-content/plugins/briansthreadedcomments.php?image=subthread-open.png);
    margin-bottom: 2px;
    vertical-align: middle;
    }

    To this:

    .comment .collapseicon
    {
    width: 8px;
    height: 8px;
    overflow: hidden;
    background-image: url(http://beingcharliekaufman.com/wordpress/wp-content/plugins/briansthreadedcomments.php?image=subthread-open.png);
    margin-bottom: 2px;
    vertical-align: middle;
    }

    And it seemed to fix it :)

  3. JoseChung
    Member
    Posted 8 years ago #

    Neat!

    Thanks a bunch, I'll get right on it.

    I've also just discovered 3 or 4 lines in the 2cDarkGrey stylesheet that, when deleted, seem to partially fix things up too:

    -------------
    img {
    border: #ccc 1px solid;
    padding: 3px;
    }
    -------------

    Very cool -- thanks again.

    --M.

Topic Closed

This topic has been closed to new replies.

About this Topic