title: Is it possible to append a class to existing div dynamically in wordpress?
body: <p>I am using the Wordpress theme Avada and I want to append a class to a pagination <code>&lt;div&gt;</code>.  Currently it is like:</p>
  
  <p><code>&lt;div class="pagination clearfix"&gt;</code> and I would like to dynamically be able to add a class to this div like so: <code>&lt;div class="wp-pagenavi pagination clearfix"&gt;</code></p>
  
  <p>Is there a way of doing this?  I have searched the theme and cannot find where this <code>&lt;div&gt;</code> is so that's the reason for wanting to change it hopefully somehow dynamically.  I hope it makes sense.
  Thanks for any help in advance,</p>
  
  <p>Peter</p>