Tagged: mobile menu icon
How could I implement something like this?
Hi Mike!
The HTML you can paste into your page content. The CSS can go in the Quick CSS theme setting or in one of the stylesheets. The JS can be added to the bottom of your functions.php file like so.
add_action( 'wp_footer', 'enfold_customization_footer_scripts' );
function enfold_customization_footer_scripts() {
?>
<script type = "text/javascript">
your javascript goes here
</script>
<?php
}
Regards,
Elliott
Hi, I can see that this topic has been off for a while, but I am trying to do the exact same thing. I’ve put the JS at the bottom of the functions.php and it doesn’t cause any errors, but my icon doesn’t transform at all. The CSS and HTML work fine.
Hi again,
Fixed it. It was something with the JavaScript code. I changed it, and now it works like a charm.