WordPress.org

Forums

Easy Pricing Tables Lite by Fatcat Apps
[resolved] Suggestion - Remove blank bullet items in single col layout (2 posts)

  1. GusRuss89
    Member
    Posted 1 year ago #

    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/

  2. davidhme
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Pricing Tables Lite by Fatcat Apps
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.