/* CHANGELOG */
VERSION 1.8.2 - 12/06/23
* FIX - Admin bar was below Mobile so not clickable, made it ontop now
* FIX - Sub menu back arrow not showing in some IOS cases 
* FIX - Sub menu opens twice
* FIX - Link of injected layout doesn't work
* FIX - Added button attributes for our menu button to make compatible with page speed discernible text
* FIX - Added CSS to ensure sub-menu items have transparent background on hover
* FIX - Horizontal scroll and icon being hidden on sub menu items if text too long
*
VERSION 1.8.1 - 29/03/23
* FIX - Slide Slide menu was not working with name change for SCSS
* FIX - Update CSS for more specificity on menu link styling
*
VERSION 1.8 - 29/03/23
* MOD/NEW ADDITION - Custom Header Logo width and height - this will set the attr for the img for SEO etc. Leave as 0 to just be 100% and max-width control the width for example.
* MOD - Changes CSS to SCSS
* FIX - fixed some cases where the close icon for the submenus did not show on IOS
* FIX - Logo was not showing in some cases on IOS
* FIX - Visit site link was hidden at some pages at dashboard
* FIX - HTML position relative is affecting the wp admin bar position
* FIX - Smooth Scrolling to anchorpoint issue
* FIX - admin bar hiding theme builder header (to close a template)
* FIX - Collapsible drop down issues on some pages on IOS
* FIX - Renamed "menu-button" to be "dm_menu_button"
*
VERSION 1.7 - 01/11/22
* NEW ADDITION - Added custom fonts and web fonts to the fonts
* MOD - Added the class "menu-wrap-scroll" when you scoll inside the menu after 80px. This way you can use CSS to hide the menu if you wanted
* FIX - License deactivation issue
* FIX - Adding license keys to multisite did not work
* FIX - Re-enabled select2 in our settings in customiser to fix it conflicting with other plugins. Other plugins make our select dropdown not work
* FIX - Burger icon line spacing on style 5 - it works better now
* FIX - admin CSS conflict
*
VERSION 1.6.5.1 - 06/07/22
* FIX - Burger icons open states messed up
*
VERSION 1.6.5 - 06/07/22
* NEW ADDITION - Inject Layouts into sub-menus. Make sure there are child items in appearance > menus & then add the class "dm-" followed by the ID of the Divi Library Layout. For example: dm-8249. We will then ajax load this layout in the sub-menu
* FIX - php warning with specific menu styles
*
VERSION 1.6.4.1 - 05/07/22
* FIX - Fatal and warning error 
*
VERSION 1.6.4 - 05/07/22
* NEW ADDITION - Added option to add custom burger icon as SVG code
* NEW ADDITION - Added option to disable box shadow for the sub menus
* FIX - Burger menu line spacing issue
*
VERSION 1.6.3.1 -25/01/22
* MOD - Added new setting to define scroll position for when we add the fixed header CSS class
* FIX - Cart icon color was not overwriting BodyCommerce cart icon color on mobile
* FIX - Accout URL was not working on languages that were not english
*
VERSION 1.6.3 -25/01/22
* NEW ADDITION - Added option to have the name of the menu appear behind the menu item on hover for the fullscreen menu style
* NEW ADDITION - Added setting to customise the bottom navigation background color
* FIX - JS error with anchor link when on another page with anchorlink in the url (domain.com/#anchorpoint)
*
VERSION 1.6.2 - 24/12/21
* FIX - Check if WPML or Polylang is active, if so - get homepage of current language when using our logo in custom header
* FIX - wireframe not working
*
VERSION 1.6.1 - 07/12/21
* FIX - Sub Menus not opening
* FIX - Menu not showing on Menu Style 5
*
VERSION 1.6 - 06/12/21
* NEW ADDITION - Added account icon for WooCommerce - link will take you to the /my-account page. Added to Divi Mobile > Custom Header
* NEW ADDITION - Added setting to set logo URL - leave blank if you want to be site URL
* NEW ADDITION - Added option to add alt and title text to logo in custom header
* MOD - Modified the CSS and appearance so that you can have search inside menu without having a custom header (use in theme builder)
* MOD - Added option to open all sub-menus by default if collapse style
* MOD - Added setting "Enable Fixed Header CSS Class" which will add the class "dm-fixed-header" on scroll when not using the custom header - before it only did it for the custom header.
* FIX - scroll to top when click burger menu
* FIX - fix anchorpoint click issue
* FIX - Open in new tab was being ignored
* FIX - Menu open issue after scrolling
* FIX - JS error when not jQuery Migrate - $(window).on('load', function(){
* FIX - burger icon color on scroll for menu 3 was not working 
* FIX - Stop stacking not working in VB
* FIX - Fullscreen fade in and out (not slide)
* FIX - Added CSS to fix the appearance of the menu of Divi Engine Style on mobile landscape
* FIX - Shortcode module preview in VB
* FIX - Stop Stacking Module Visual builder issue
* FIX - Search Inside menu styling
* FIX - Admin bar behind theme builder top bar (close)
*
VERSION 1.5.4.2 - 10/03/21
* FIX - Conflict with Divi Supreme pop up
*
VERSION 1.5.4.1 - 03/03/21
* MOD - checked for function "wp_body_open" first to load the menu, this loads it in the body and makes the site quicker
* FIX - CSS fixes for VB and Divi animations 
*
VERSION 1.5.4 - 02/03/21
* FIX - Anchor point for same page and other page
* FIX - Sub-menu open not working on tablet (removed check for mobile device and just look at browser width set in the mobile breakpoint)
*
VERSION 1.5.3 - 15/01/21
* FIX - Sub-menu activate 
*
VERSION 1.5.2.1 - 13/01/21
* Fixed bug in overlap style 
*
VERSION 1.5.2 - 13/01/21
* Modified code so that the submenu would work based on the breakpoint you specify in our settings
*
VERSION 1.5.1 - 13/01/21
* FIX - Anchor point on IOS
* FIX - scroll when tapping open icon for sub-menus - reworked the JS code so it will be stable.
*
VERSION 1.5 - 16/12/2020
* FIX - Fixed anchor point scroll
*
VERSION 1.4.3 - 16/12/2020
* FIX - menu link not working
*
VERSION 1.4.2 - 16/12/2020
* MOD - When closing the menu, it will also close the sub-menus
* FIX - menu open goes to top
* FIX - close menu when click anchorpoint
* FIX - hideonscroll issue
* FIX - "Go to top" issue when click burger menu
* FIX - button hover background in injected layouts 
* FIX - menu hover css
* FIX - Disable parent link was not working - it would always disable. Now if you disable this setting, it will allow to click through on parent but still click on icon to open sub-menu
* FIX - removed titan generated css
* FIX - Sub menu font size
* FIX - sub menu font attributes
*
VERSION 1.4.1- 19/11/2020
* FIX - Settings glitch
* FIX - change color of BC cart icon
*
VERSION 1.4 - 09/11/2020
* NEW ADDITION - Different logo on scroll
* NEW ADDITION - Pre-made Style presets
* NEW ADDITION - Added inject layout below the custom header
* NEW ADDITION - it will hide the mobile menu when you do this in the theme builder - there is now a setting in the menu settings to disable this and show it regardless
* NEW ADDITION - Settings to change the color of the burger icon, search and cart icon on scroll
* MOD - Added setting to hide injected layout above or below the header on scroll
* MOD - New setting to remove space at top
* FIX - Fixed overlap menu when using it on the left
* FIX - Color picker issue for custom header, Menu font shadow
* FIX - Divi CPT CSS clashes
* FIX - Extra cart icon not showing
* FIX - Exta customiser glitch
* FIX - menu opacity
* FIX - IOS glitch
*
VERSION 1.3 - 11/09/2020
* NEW ADDITION - New Menu Style = Divi Engine. Create a menu like ours on our website.
* NEW ADDITION - Added option to add an image to the background of your menu, you can use image blend modes to add multipy, soften etc with a background color too
* FIX - Fixed mobile menu open when click close button of Divi Bodycommerce mini cart
* FIX - Search icon inside the menu was not displaying correctly
* FIX - submenu was not opening when you resize your desktop to be the size of mobile (not imitate mobile)
* FIX - Elastic menu style, when clicking outside it would not allow you to open the menu again
* FIX - shortcode can be used on many pages now
*
VERSION 1.2.9.2 - 26/08/2020
* COMPATIBILITY - WordPress 5.5
* FIX - Custom button CSS not working
* FIX - collapse not working great when child page is active
* FIX - Conflict CSS with Divi CPT CSS 
* FIX - stop scrolling horizontal on mobile
*
VERSION 1.2.9.1 - 02/08/2020
* MOD - Changed the way we deliver the CSS to make the button work on the normal inject sylte. 
* MOD - Removed the setting "alternative inject style"
* FIX - Fixed php warnings
* FIX - Padding on right when open
* FIX - Custom button CSS not working
*
VERSION 1.2.9 - 17/06/2020
* NEW ADDTION / COMPATIBILITY - Added the ability to use it alongside the theme builder header. Enable it in our settings "Mobile Header Style" and then add the shortcode [divi_mobile_tb_menu] to your theme builder header
* FIX - When opening the menu on desktop, the page would slide due to the hiding of the scroll bar.
*
VERSION 1.2.8.1
* FIX - some plugins would cause our select drop downs from not working - we have stopped them from changing our select to select2
*
VERSION 1.2.8 - 03/06/2020
* MOD - hide search box when scroll and header is not fixed
* MOD - Added option to control the distance form the top for the search and cart icons
* FIX - when scrolling down on mobile with thumb, it would open the sub-menu
*
VERSION 1.2.7.2.1
* FIX - illegal string error
*
VERSION 1.2.7.2 - 21/05/2020
* MOD - Added another option in inject layouts - Alternative Menu Inject Style - this will fix some issues with people having styling of buttons in the injected layouts - enable this
*
VERSION 1.2.7.1 - 11/05/2020
* FIX - warning php errors
* FIX - hide main header only if using the custom header
*
VERSION 1.2.7 - 01/05/2020
* MOD - Added code to show the submenu active colour and when using the collapse menu, it will keep it open when you reload the page and on a sub menu page
* MOD - Changed our code to fix some issues like header scrolling behing on IOS
* MOD - Changed our CSS to hide the search bar from start so it does not slide up
*
VERSION 1.2.6 - 30/04/2020
* MOD - Changed the CSS to fix the overflow issue on IOS and elements not being able to be clicked
* FIX - Logo issue of png being distorted
* FIX - CSS conflicting with desktop dropdown background and border
* FIX - When open the page scrolls down
* FIX - Extra css was affecting arrows at wp backoffice
* FIX - Removed HTML css rule which affected the document position and overflow
*
VERSION 1.2.5 - 21/04/2020
* MOD - Added new setting to set the max-width of your logo, this will fix it looking strange/stretched
* MOD - Added code to add padding at the bottom if you have a bottom nav menu, so it does not overlap the footer.
* FIX - Fixed issue where header would be affected on desktop
* FIX - Menu and sub-menu text font styling is not working - we have fixed this.
* FIX - Fixed issue where custom header would add space if custom header is transparent
*
VERSION 1.2.4 - 17/04/2020
* MOD - moved the custom header inside the main div to be more compatible
* FIX - SVG image for logo in custom header not showing
* FIX - Our css affecting the desktop
*
VERSION 1.2.3.1 - 15/04/2020
* FIX - padding 0 for desktop when using the custom header
*
VERSION 1.2.3 - 15/04/2020
* NEW ADDITION - Added ability to add the bottom nav menu at the same time as other menu styles
* NEW ADDITION - Added our mobile menu icon style - two Lines
* NEW ADDITION - Added our mobile menu icon style - three dots
* MOD - Added width to the search custom header so it does not overlap the cart icon > You might need to adjust your search icon location after this update
* MOD - Added padding: 0 to the burger icon as IOS was causing issues. You might need to reposition your icon in your burger menu.
* MOD - Added ability to customise the active menu link color
* FIX - Fixed issue with custom header from Divi and ours space at the top
* FIX - Smooth Scrolling of the menu items
* FIX - Fixed on scroll (set to no) was not affecting the burger icon
*
VERSION 1.2.2 - 23/03/2020
* NEW ADDITION - ability to inject a layout above your custom header
* FIX - favicon not showing
*
VERSION 1.2.1 - 13/03/2020
* MOD - Added option to customise color and font size of the close icon for search
* MOD - Changed location of the header html so it is in the head again as it was causing issues
* MOD - added ability to close the menu using an anchor point - add the class "anchorpoint" to the menu item to close it when clickiong
* FIX - Moved classie js position on page
* FIX - Removed scrollbar on header
*
VERSION 1.2 - 10/03/2020
* MOD - Changed location of the header html so it is in the body
* MOD - Close menu when clicking on link for anchor link websites
* FIX - Favicon not working
* FIX - Fixed circle expand from right not working
* FIX - Fixed issue where you close the menu and the sub-menu is open, you can still click it
*
VERSION 1.1.9 - 18/02/2020
* MOD - Added CSS to make burger icon behind slide in mini cart from BodyCommerce. You need to update BodyCommerce to version 4.5.9
* FIX - Fixed issue with css of custom header logo
* FIX - Fixed white space below header
* FIX - Search on desktop not working
*
VERSION 1.1.8 - 14/02/2020
* FIX - Fixed logo height issue on scrolling
* FIX - Fixed scroll - double scroll bars
* FIX - circle expand from shape style, background would go transparent on scroll
*
VERSION 1.1.7 - 11/02/20
* NEW ADDITION - Add option to upload logo if one does not show with the custom header.
* NEW ADDITION - Added option to change postion of the burger menu on scroll for the custom header
* MOD - Created new tab for custom header and moved all the settings there - it is better to have it separate
* MOD - added css to make it scroll in menu if too many items
* MOD - Added css to stop page scrolling when menu is open
* MOD - Changed it so that you can search now by clicking the search icon on mobile
* FIX - Fixed bug with safari not showing the menu properly
*
VERSION 1.1.6 - 20/01/2020
* FIX - Fixed issue with button style not working
*
VERSION 1.1.5 - 09/01/2020
* MOD - Added ability to add shadow on custom header
* MOD - Added ability to click through to parent - click twice for this to happen
* MOD - Changed the JS to make the collapse menus auto close if you open another one
* FIX - MENU TEXT PADDING TOP/BOTTOM CSS was not working
* FIX - Search on mobile would not close
* FIX - Search inside menu CSS
*
VERSION 1.1.4 - 03/12/19
* MOD - Added ability to customise the font family, colour, size, weight, shadow, line height and letter spacing
* MOD - Changed CSS breakpoint to cater for custom headers
*
VERSION 1.1.3
* FIX - Minor CSS fixes
*
VERSION 1.1.2
* FIX - Update check on multisite not checking properly
*
VERSION 1.1.1 - 24/10/19
* MOD - Added ability to choose fixed or not fixed menus
* FIX - CSS not moving burger menu with the fullscreen and circle expand menus
* FIX - Removed Select2 js in admin as was causing conflict
* FIX - Sub Sub Sub menu will show fine with collape and overlay sub menus.
*
VERSION 1.1 - 08/10/19
* NEW ADDITION - Added a new menu style, Bottom Navigation and one style which is the simple bottom navigation.
* MOD - Ability to choose the menu you want shown - This setting is in: Menu Style and Settings > SELECT MENU.
*
VERSION 1.0.1 - 30/08/19
* LAUNCH *
* MOD - Added live preview for as many options as I can in the customizer
* MOD - Changed it so that you can align text in the menu and sub-menu
* FIX - Burger menu slider was dropping down
* FIX - Breakpoint working correctly if below 980px
* FIX - Logo was going fullwidth when control header
* FIX - "Fixed menu on scroll?" menu was not working well..
*
* 1.0 - 16/08/19
* Launch beta version
