WordPress.org

Forums

WP-SynHighlight
Is this what it's supposed to look like? (3 posts)

  1. JMDlugosz
    Member
    Posted 1 year ago #

    This page is my first try at using your plug-in.

    There is a blank line under the Title, inside the detached title block. The formatted code doesn't connect with the title block, both in having yet another gap and in not matching the appearance.

    https://wordpress.org/plugins/wp-synhighlight/

  2. FractalizeR
    Member
    Plugin Author

    Posted 11 months ago #

    That's rather strange. I don't have these problems on my website. But you can tune CSS to get rid of this I suppose.

  3. JMDlugosz
    Member
    Posted 11 months ago #

    Here's the CSS. I think the culprit is a 24-px bottom margin below the table contained in the div class="wp-synhighlighter-expanded"

    .entry-content table,
    .comment-content table {
    border-bottom: 1px solid #ededed;
    color: #757575;
    font-size: 12px;
    font-size: 0.857142857rem;
    line-height: 2;
    margin: 0 0 24px;
    margin: 0 0 1.714285714rem;
    width: 100%;
    }

    Is that something you're generating? If not, the cause is not accounting for existing properties inherited into your divs. Is there some way wordpress themes announce how things like table titles are being handled or want plug-in code to look like?

    Thanks,
    —John

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-SynHighlight
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.