Suggestion – Remove blank bullet items in single col layout
-
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
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Suggestion – Remove blank bullet items in single col layout’ is closed to new replies.