Advertisement
arie_cristianD

make module 22 & 23 column width 8 in single post shortcode

Jul 10th, 2024 (edited)
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function($){
  2.     $(document).on('ready', function() {
  3.         let single_post = $('.single-post .jeg_inner_content');
  4.         if(single_post.length > 0){
  5.             let module_22 = single_post.find('.jeg_postblock_22');
  6.             let module_23 = single_post.find('.jeg_postblock_23');
  7.             module_22.addClass('jeg_col_2o3').removeClass('jeg_col_3o3');
  8.             module_23.addClass('jeg_col_2o3').removeClass('jeg_col_3o3');
  9.         }
  10.     })
  11.  
  12. })(jQuery);
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement