fauzanjeg

Change Burger Menu Button

Feb 8th, 2021 (edited)
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. /* Add Javascript in Head */
  2. function jnews_add_javascript () {
  3.     ?>
  4.     <script>
  5.         jQuery(document).ready(function() {
  6.             var button = '<button style="border-radius: 12px; font: initial; font-family: monospace;">menù</button>';
  7.             jQuery('.toggle_btn.jeg_mobile_toggle').html(button);
  8.         });
  9.     </script>
  10.     <?php
  11. }
  12.  
  13. add_action( 'wp_head', 'jnews_add_javascript' );
Add Comment
Please, Sign In to add comment