Auto play slider and close menu smarphone TA Meghna

SupportCategory: Ta MeghnaAuto play slider and close menu smarphone TA Meghna
Fabrica Staff asked 2 years ago

Sorry my bad English. How to auto play the slider TA Meghna ? Another issue : – When I see the site on phone, click on a link and the menu does not close. How do you close the menu on the phone after selecting the link, equal as TA Pluton ? Thank you.

12 Answers
Rohit Staff answered 2 years ago

Hello, for your first question, please open the file “/js/app.js” with editor such as Notepad++, go to line 274, add new line “autoplay : true,” below the line “speed : 1600,”. For your secondary question, which phone do you use? The menu works well on both iPhone and Nexus phones.

Fabrica Staff answered 2 years ago

Auto play slider resolved. When the subject update , you will lose this change? I create the app.js in a child theme to not miss the change? Example : themes/ta- meghna-child/js/app.js Thank you. For the secondary issue, use a Samsung Galaxy S2 Android 4.0.4 , but the problem also occurs with the lowest Chrome screen.
 
With the theme TA Pluton 1.2.1 the problem does not occur in the smartphone and the TA Meghna 1.1.0 yes;( The following print: TA Pluton no problem -> http://fabricasites.com.br/themeart/menu-smartphone-ta-pluton.jpg
 
TA Meghna with problem -> http://fabricasites.com.br/themeart/menu-smartphone-ta-meghna.jpg

Rohit Staff answered 2 years ago

Hello, you are right, you can create a child theme to prevent losing your changes. First you need dequeue the script.

wp_dequeue_script( 'ta-meghna-app' );

Then enqueuer your new script file.
Did you test the demo site on your phone?

Fabrica Staff answered 2 years ago

Thank you Kevin. Same problem accessing http://meghna.themeart.co/ on the phone and also on Google Chrome with the size of a phone’s browser;

Rohit Staff answered 2 years ago

Hello, it’s strange that I use Chrome to test the demo site, but the menu works well on differences size. I also let some other users to help test and all work well. I’m not sure it will work well on your phone, but it do on Chrome. Did you got some error on Chrome Console (F12 to run it) when you click the menu?

Fabrica Staff answered 2 years ago

Thank you. No error; I will include a javascript to close the responsive menu click on; What script creates the html responsive menu Kevin, that I include my javascript? Must also know which script assembles the menus to include a track user clicks google analytics. Thanks again and sorry for my bad English.

Rohit Staff answered 2 years ago

Hello, I’m sorry and I can’t understand you. Would you please provide more details? Thanks!

Fabrica Staff answered 2 years ago

What script creates the html menu for desktop and responsive?
Thanks again and sorry for my bad English.

Rohit Staff answered 2 years ago

Hello, please check the file “/js/bootstrap.min.js”.

Fabrica Staff answered 2 years ago

Thank you Kevin. But I need to know which theme the PHP script creates the dynamic menu.

Rohit Staff answered 2 years ago

Hello, the dynamic menu is created by WordPress core function wp_nav_menu, you can check the file “header.php” line 203-235.

Fabrica Staff answered 2 years ago

Thank you Kevin.