Tagged: Tab element
-
AuthorPosts
-
November 24, 2020 at 8:58 am #1262597
Sehr geehrte Damen und Herren,
momentan befinde ich mich in einer Situation, die ich nicht selbst lösen kann.
Ich habe auf meiner Website einen Before/After-Slider (Slider Revolution) innerhalb des Reiterelements. Da sich das Reiterelement auf mobilen Endgeräten bequem mit einem Wischen nach links oder rechts navigieren lässt, ist es nicht kompatibel mit meinem B/A-Slider. Sobald ich auf einem Smartphone oder Tablet den B/A-Slider benutzen möchte, greift hier die übergeordnete Animation/Funktion des Reiter-Elements in dem sich der B/A-Slider befindet.Gibt es eine Möglichkeit die Funktion des Wechselns der Reiter-Elemente (Tabs) mit einem Wisch zu unterbinden/deaktivieren?
Vielen Dank schon einmal im Vorraus!
LG Marcel- This topic was modified 4 years ago by fruntkeMarcel. Reason: Privater Text bearbeitet
December 1, 2020 at 2:43 pm #1264242Hey Marcel,
Thanks for contacting us and sorry for the late reply!
– Please go to /enfold/config-templatebuilder/avia-shortcodes/tab_section/tab_section.js file and copy it inside /shortcodes/ folder in your child theme
– Open tab_section.js file on your child theme and find following linecontent_wrap.avia_swipe_trigger({prev:'.av_prev_tab_section', next:'.av_next_tab_section'});
and change it to following
//content_wrap.avia_swipe_trigger({prev:'.av_prev_tab_section', next:'.av_next_tab_section'});
– Add following code to bottom of Functions.php file of your child theme
function wp_change_tab_section_js() { wp_dequeue_script( 'avia-module-tabsection', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/tab_section/tab_section.js', array( 'avia-shortcodes' ), false, true ); wp_enqueue_script( 'avia-tabsection-child', get_stylesheet_directory_uri().'/shortcodes/tab_section.js', array('jquery'), 2, true ); } add_action( 'wp_print_scripts', 'wp_change_tab_section_js', 100 );
– Go to Enfold child theme options > Performance and disable JS file merging and compression, save theme options, confirm that Tab Section is working as expected on mobile and then enable JS file merging and compression once again :)
Best regards,
YigitDecember 1, 2020 at 9:53 pm #1264324Thank you for the reply.
Sorry but it didn’t help me.
I posted my credentials in privat chat. Maybe you can have a look?December 2, 2020 at 2:18 pm #1264499Hi,
You forgot to paste the file inside /shortcodes/ folder. So I simply created /shortcodes/ folder and moved modified file inside it.
Please review your website :)
Best regards,
YigitDecember 3, 2020 at 6:47 pm #1264829Thank you very much!!
Topic can be closed now :)
- This reply was modified 4 years ago by fruntkeMarcel.
December 3, 2020 at 8:53 pm #1264881Hi fruntkeMarcel,
Great :)
We are closing the thread.
If you need further assistance please let us know in a new one.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Deaktivieren der "Wisch-Funktion" des Reiter-Elements auf mobilen Endgeräten.’ is closed to new replies.