diff --git a/core/core.js.php b/core/core.js.php index 64bef0b9..a45c85e7 100755 --- a/core/core.js.php +++ b/core/core.js.php @@ -437,4 +437,17 @@ $(document).ready(function(){ } }); }); + + /** + * IcĂ´ne du Menu Burger + */ + $("#toggle").click(function() { + var changeIcon = $('#toggle').children("span"); + if ( $(changeIcon).hasClass('zwiico-menu') ) { + $(changeIcon).removeClass('zwiico-menu').addClass('zwiico-cancel'); + } + else { + $(changeIcon).addClass('zwiico-menu'); + }; + }); }); \ No newline at end of file diff --git a/core/layout/common.css b/core/layout/common.css index 002e0718..192190fb 100755 --- a/core/layout/common.css +++ b/core/layout/common.css @@ -517,6 +517,9 @@ nav a:hover { nav .zwiico-menu { font-size:1.5em; } + nav .zwiico-cancel { + font-size:1.5em; + } }