Support » Plugin: Schema - All In One Schema Rich Snippets » Recipe Snippet Causes Page Layout Issues due to extra closing div

  • Matt

    (@mhuntdesign)


    On Lines 607 – 608 of functions.php

    $recipe .= '</div>
    </div></div><div class="snippet-clear"></div>';

    There is an extra closing div there that breaks page layouts.

    Please patch.

    • This topic was modified 2 years, 6 months ago by Matt.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @mhuntdesign,

    We are testing our plugin for this issue. We will release an update very soon.

    Thanks for your patience!

    Regards,
    Uttam

    Matt

    (@mhuntdesign)

    I believe products have the same issue. On lines 500 – 501 of functions.php

    $product .= '</div>
    	</div></div><div class="snippet-clear"></div>';

    There is an extra closing div there that breaks page layouts.

    • This reply was modified 2 years, 4 months ago by Matt.
    Matt

    (@mhuntdesign)

    Line 413 of functions.php is causing problems too. You are closing the ‘#snippet-box’ div too soon. I think the ‘#snippet-box’ div was intended to wrap around the ‘itemtype’ div.

    $product .= '</div>';

    Hello @mhuntdesign,

    I have added your issue regarding schema markup in our to-do list and we will be testing it. If the issue appears we will fix it ASAP.

    Thanks for reporting the issue.

    Regards,
    Uttam

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Recipe Snippet Causes Page Layout Issues due to extra closing div’ is closed to new replies.