Not quite easy to use, but it’ okay
-
It takes some extra time to make and edit tables with this widget, but it is better than writing the code from scratch.
Plus, I edited the plugin code to add classes on each line, and it’s much better now with that feature.
here’s what i did for your reference.(I strongly recommend doing something like this if you’re using this plugin)
Edit Plugin -> Talbes for Elementor -> modules -> tables -> widgets -> table-standard.php
Original
894 <?php foreach ( $features as $feature ) : ?> 895 <div class="table-cell cell-feature"> 896 <?php echo $feature['text']; ?> 897 </div> 898 <div class="table-cell first-icon"> 899 <i class="<?php echo esc_attr( $feature['option1_icon'] ); ?>"></i> 900 <p class="first-text"><?php echo esc_attr( $feature['option1_text'] ); ?></p> 901 </div> 902 <div class="table-cell second-icon"> 903 <i class="<?php echo esc_attr( $feature['option2_icon'] ); ?>"></i> 904 <p class="second-text"><?php echo esc_attr( $feature['option2_text'] ); ?></p> 905 </div> 906 <?php endforeach; ?>
Edited
<?php $i=0; foreach ( $features as $feature ) : $i++; ?> <div class="column-<?php echo $i; ?> table-cell cell-feature"> <?php echo $feature['text']; ?> </div> <div class="column-<?php echo $i; ?> table-cell first-icon"> <i class="<?php echo esc_attr( $feature['option1_icon'] ); ?>"></i> <p class="first-text"><?php echo esc_attr( $feature['option1_text'] ); ?></p> </div> <div class="column-<?php echo $i; ?> table-cell second-icon"> <i class="<?php echo esc_attr( $feature['option2_icon'] ); ?>"></i> <p class="second-text"><?php echo esc_attr( $feature['option2_text'] ); ?></p> </div> <?php endforeach; ?>
- The topic ‘Not quite easy to use, but it’ okay’ is closed to new replies.