-
AuthorPosts
-
September 7, 2018 at 8:30 pm #1007295
Hello,
Thank you for this great theme and your efforts for the support..
I am using Enfold child theme. Recently I decided to try the burger menu but once I activated it, I realized that the burger menu is not working properly.
the problem is : I can not see the X close button. So I can not hide the burger menu.
When I switch to Enfold Main Theme everything works perfect..
So I am guessing that the problem is with the child theme…Can you please help me figuring out my problem?
Kind Regards,
EnisSeptember 8, 2018 at 9:41 pm #1007489Hello anyone?
- This reply was modified 6 years, 3 months ago by indurango.
September 9, 2018 at 7:59 pm #1007679Hi,
Can you please update the header.php file inside the child theme? :)
Best regards,
BasilisSeptember 9, 2018 at 8:32 pm #1007690Hello Basilis,
Do you mean update the header.php with the original header.php in Enfold main theme folder?
September 10, 2018 at 10:24 am #1007840Hello,
My problems still continue :
1- Burger menu X Close button do not appear. So I can not close the menu. As you suggested, I updated the header.php inside child theme with the header.php from main theme folder but burger menu still not working.
2- I tried to add the text ‘Menu’ to burger menu but it does not work.
( I tried this solution )3- When I change the burger menu icon color from Enfold Theme Options, the color only changes when I scroll down the page and when sticky header becoems active.. Otherwise it does not reflect the customized icon color.
4- Is it possible to place full screen slider inside a color section? Or any solution to make color section bg images to slide?
Thank you.
September 10, 2018 at 11:01 pm #1008101Hi,
Yes, That is what I mean.
If you update the folder – let us know after how it would look.Best regards,
BasilisSeptember 10, 2018 at 11:24 pm #1008104Hello Basilis,
I think you did not read my messages carefully.
In my reply, i wrote that i already did that but nothing changed.This is the 3rd day and i still do not have any solution.
September 11, 2018 at 7:53 pm #1008559Hi,
You wrote:
> My problems still continue :
Nothing if u have updated or not, so yes I do read but need to be more clear.
We have worked on an update on that version that fixes most of those issues, we appreciate the patience as we have a developer preview – we will launch it.Best regards,
BasilisSeptember 12, 2018 at 3:50 pm #1008990Hi Basilis,
Sorry for my reaction.
I updated my headerphp file with the one from the main Enfold theme folder. But it did not work.. I had written that I updated the header.php but after editing my message I think I deleted that without realizing. Sorry for that.But I did not understand your last message. What are you working on updating?
Should I have to wait or do I have to do anything else?Thanks for your patience.
E.September 13, 2018 at 4:43 pm #1009503Hi indurango,
If you have no customizations in your header.php file you can simply remove it from your child theme. You have the avia.js file in your child theme too, did you update it with a fresh copy?
Best regards,
VictoriaSeptember 13, 2018 at 7:14 pm #1009599Hi Victoria,
Yes the avia.js updated with the lates Enfold version last week.
header.php was added after Basilis suggested to update it from the main enfold theme to child theme.
Now, I deleted header.php but nothing changed.Below problems still continue :
1- Burger menu X Close button do not appear. So I can not close the menu.
2- I tried to add the text ‘Menu’ to burger menu but it does not work.
3- When I change the burger menu icon color from Enfold Theme Options, the color only changes when I scroll down the page and when sticky header becoems active.. Otherwise it does not reflect the customized icon color.
4- Is it possible to place full screen slider inside a color section? Or any solution to make color section bg images to slide?September 15, 2018 at 3:41 pm #1010154Hi indurango,
No, full-screen slider cannot go in the color section. You might want to use Layer Slider for that.
I am pretty sure some JavaScript is not working or is missing, but there are no errors in console. If you have no changes now in the avia.js you can remove it too.
Best regards,
VictoriaSeptember 15, 2018 at 5:18 pm #1010182Hello Victoria,
I have customization in avia.js so I will keep it.
But about the burger menu, what is the solution you are suggesting?Regards,
EnisSeptember 16, 2018 at 10:06 am #1010329Hi Enis,
It can be that the burger is not working because of the customization. Can you comment it out for now and see if it solves the issue? And then the customization can be adjusted to work.
Best regards,
VictoriaOctober 6, 2018 at 11:54 am #1018479Hello Victoria,
I found out that the problem causing the burger menu not to close is the functions.php in my child theme folder.
When I remove it burger menu works fine.But to be honest I do not know what is the customization in the fucntions.php.
I am guessing that it was something you helped me with WPML translations.. (maybe)Is it possible to look at the code and tell me what this customization does?
function add_my_script() { wp_enqueue_script( 'my-custom-script', get_stylesheet_directory_uri() . '/js/avia.js', array('jquery'), '1.0.1', true ); } add_action( 'wp_enqueue_scripts', 'add_my_script', 10); function icl_post_languages(){ $languages = icl_get_languages('skip_missing=1'); if(1 < count($languages)){ echo __('This post is also available in: '); foreach($languages as $l){ if(!$l['active']) $langs[] = '<a href="'.$l['url'].'">'.$l['translated_name'].'</a>'; } echo join(', ', $langs); } } add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; } add_theme_support('avia_template_builder_custom_css');
Kind regards,
EnisOctober 7, 2018 at 6:02 am #1018599Hi,
Thanks for the update, it looks to be this part:
function add_my_script() { wp_enqueue_script( 'my-custom-script', get_stylesheet_directory_uri() . '/js/avia.js', array('jquery'), '1.0.1', true ); } add_action( 'wp_enqueue_scripts', 'add_my_script', 10);
What happens if you only remove that bit?
Best regards,
RikardOctober 7, 2018 at 9:39 am #1018626Hello Rikard,
Yes I removed that and the burger menu works perfectly.
Can you tell me what that piece of code in functions.php is about?I do not want to mess up things that I do not realize at the moment..
Thanks,
October 8, 2018 at 7:03 am #1018803Hi,
That code is enqueuing the avia.js script file, but that shouldn’t be necessary since that is done automatically by the theme. If everything is working as it should on your site after removing that, then please keep it out of the functions.php file :-)
Best regards,
RikardOctober 8, 2018 at 10:47 am #1018908Hi Rikard,
Thank you for the answer..
You can close the ticket..Regards,
EnisOctober 8, 2018 at 10:26 pm #1019257Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.Thank you for using Enfold :)
Best regards,
Basilis -
AuthorPosts
- The topic ‘Enfold Burger Menu Not working properly’ is closed to new replies.