We are using the following JS code to make the title and feature list icon clickable, and to remove the the link at the end of the paragraph.
jQuery(function($) {
$(’.x-feature-box-text a:last-child’).each(function() {
$(this).closest(’.x-feature-box’).find(’.x-feature-box-graphic’).wrap(’’);
$(this).closest(’.x-feature-box’).find(’.x-feature-box-title’).wrap(’’);
$(this).remove();
});
});
This code works, but it loads a bit janky and we would like to do this in the child theme and not thorugh JS. Any counsel would be greatly appreciated. Private note attached withe more details.
