Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Dvana

    (@dvana)

    Hmm, strike that. This css is needed as well to keep the paragraphs from being clipped:

    .content_body {
        max-height: 170px;
        overflow-y: auto;
    }
    .radio:checked ~ .content {
    max-height:240px;
    }
    .radio:checked ~ .content p{
    max-height: none;
    }
    Thread Starter Dvana

    (@dvana)

    For the curious, I have temporarily fixed this to my satisfaction with some additional css and a tweak to the php file:

    I changed this:

    $output .= "<div class='content'><p>" . do_shortcode($content) . "</p></div>";

    to this:

    $output .= "<div class='content'><div class='content_body'><p>" . do_shortcode($content) . "</p></div></div>";

    Which will accommodate multiple paragraphs in the longer explanation text.

    Then I added this css to the post:

    .content_body {
        max-height: 170px;
        overflow-y: auto;
    }
    .radio:checked ~ .content {
    max-height:240px;
    }

    This tweaks the box size a little and adds scrolling to content text that goes past the original limit.

    Thread Starter Dvana

    (@dvana)

    Wow, you’re quick!

    Aah, I see. I had gone into the custom theme and tried to alter the font from there, but it would appear that I just didn’t know what I was doing. Well, don’t I feel sheepish?

    Previously, I had commented the font tag in the custom theme, assumed that something was haywire with the theme and its interaction with your plugin, and surrendered. Too soon, it would appear, because if I drop the font tag in the Body section, the body font (surprise, surprise) changes.

    Chock this one up to user ignorance, I guess. Thanks for your help in getting to the bottom of the problem. Yes, it would be nice to be able to use the default themes as they appear in the preview windows, but for now this plugin is doing 100% of what I would like it to do.

    Sorry for wasting your time, but thank you for an excellent plugin (and excellent help!)

    Thread Starter Dvana

    (@dvana)

    Okie, here’s what it looks like when I’m using the Matrix theme:

    Screenshot(eew photobucket)

    This is with the “Matrix” theme active. As you can see, the text in the body of the post is not being modified by the DFWM theme. Other DFWM themes perform the same; color changes, but not the fonts.

    Thanks again for your help; it’s very appreciated.

    Thread Starter Dvana

    (@dvana)

    Nope! I’m saying that when I activate one of your themes, distraction free mode appears *almost* exactly like the df theme’s preview. Font color and background color alter to match the preview in your plugin settings. However, the font does not change and remains a serif font, no matter which of your themes I choose. Sorry for the lack of clarity there.

    If you would like, I can provide a screenshot in the morning of the behavior.

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