• Resolved markgriffin

    (@markgriffin)


    Hi, in the version previous to the last update I was using the .woobt-wrap div to add padding and a border to keep things visually inline with the clients website. In the latest update .woobt-wrap is now applied to every product including those not using the plugin and I am left with an empty padded box with border everywhere.

    Now I can no longer style the whole section. What do you suggest?

    What is the reason to force the .woobt-wrap div onto every product page irrespective of whether it is using the function?

    You have removed much needed opportunity for front end CSS styling. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter markgriffin

    (@markgriffin)

    Nevermind I had added this to functions.php

    function hide_empty_woobt_wrap() {
    ?>
    <script type="text/javascript">
    jQuery(document).ready(function($) {
    $('.woobt-wrap').each(function() {
    if ($(this).is(':empty')) {
    $(this).css('display', 'none');
    }
    });
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'hide_empty_woobt_wrap');
    Plugin Support Janilyn T

    (@janilyn409)

    Hi @markgriffin ,

    Thanks for reaching out to us and for your feedback.

    I will write a report to our developers so that they can consider this in the next update.

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.