Ticket for: Accordions Combo
0
Johann Steinwand
Hello, we want the accordion to be open active on PC, but closed on Mobile (to safe space in our footer for mobiles)
How can we do that?
Thanks for your help.
Greetings from Germany
2 Subscribers
Submit Answer
1 Answers
Best Answer
0
Welcome to our forum.
Unfortunately, there is no option to do this, you can try following code to close on mobile
add_action('accordions_main', 'accordions_pro_main_scripts_mobile', 90); function accordions_pro_main_scripts_mobile($atts){ $post_id = isset($atts['id']) ? $atts['id'] : ''; if(wp_is_mobile()): ?>Please note, this code will only work in latest version of accordions we release today
Watch this video
https://www.youtube.com/watch?v=DDKMWphWLGI
Regards