• Resolved GusRuss89

    (@gusruss89)


    Hi there,

    I just downloaded your plugin and played around with it a bit. It’s really nice, good work!

    One suggestion is to add a class to empty bullet items, so that they can be hidden on small screens. There’s no need to show empty rows when there the columns aren’t side-by-side.

    I did it in jQuery for my own site, but I’d imagine it would be an easy change to the plugin itself.

    My code, if you’re interested (inside document.ready).

    // Pricing tables - add class to empty bullet items so we can hide them on smaller screens
        $('.ptp-pricing-table .ptp-bullet-item').each(function(){
            if( $(this).html().indexOf( ' ' ) === 0 ) {
                $(this).addClass( 'ptp-empty-bullet' );
            }
        });

    Cheers,
    Angus

    https://wordpress.org/plugins/easy-pricing-tables/

Viewing 1 replies (of 1 total)
  • Plugin Author davidhme

    (@davidhme)

    Hey Angus,

    Thanks, this is a great idea.
    I might go ahead and add this to a future release.

    I really appreciate it!
    Cheers,
    David

Viewing 1 replies (of 1 total)
  • The topic ‘Suggestion – Remove blank bullet items in single col layout’ is closed to new replies.