Home › Forums › WoodMart support forum › single product page accordeon tab
single product page accordeon tab
- This topic has 7 replies, 2 voices, and was last updated 3 years, 10 months ago by
Elise Noromit.
-
AuthorPosts
-
August 27, 2020 at 4:10 pm #221709
BertranddesmetsWMParticipantHi,
I have two questions about single product page accordéon tab :
1. I would like the accordeon tab (product/brand description…) to be closed when opening the page. Is is now on open mode.
2. Some titles in the accordeon tab are in English, should I use a plugin like Loco Translate to translate this content?Screenshot attached.
Thanks a lot for your help!
Regards,
BertrandAttachments:
You must be logged in to view attached files.August 27, 2020 at 9:00 pm #221755
Elise NoromitMemberHello,
Add the snippet to the Custom JS section in Theme Settings:
setTimeout(function() { var $tab = jQuery('.woodmart-tab-wrapper').find('a.active'); $tab.siblings('.wc-tab').hide(); $tab.removeClass('active'); }, 10);
You can translate all theme and plugin texts via PO file in WordPress. Here is a video tutorial that should help you translate your website texts with a Loco Translate plugin https://www.youtube.com/watch?v=D3NsDdMzsls&list=PLMw6W4rAaOgKKv0oexGHzpWBg1imvrval&index=3
Best Regards
August 28, 2020 at 8:54 am #221852
BertranddesmetsWMParticipantHi,
Thanks for your quick answer, works like a charm!
Last question about theme translation : what plugin do you recommend for multilingual purposes? , Is WPML plugin the most compatible?Thank you!
Regards,
BertrandAugust 28, 2020 at 10:02 am #221866
Elise NoromitMemberHello,
WPML is 100% compatible with our theme. We recommend it.
Best Regards
August 28, 2020 at 11:03 am #221876
BertranddesmetsWMParticipantThanks for your support!
Regards,
BertrandAugust 28, 2020 at 12:46 pm #221898
Elise NoromitMemberYou are welcome! If you have any questions please feel free to contact us.
Best Regards
April 15, 2021 at 8:37 am #283119
BertranddesmetsWMParticipantHi,
I would like to reopen this for some JS updates:
This JS line is not working anymore.
setTimeout(function() { var $tab = jQuery('.woodmart-tab-wrapper').find('a.active'); $tab.siblings('.wc-tab').hide(); $tab.removeClass('active'); }, 10);
I tried to change
Woodmart
withwd
but it won’t work.
Could this be caused by last Woodmart updates?Thanks for your enlightment!
Regards,April 15, 2021 at 2:32 pm #283264
Elise NoromitMemberHello,
Please add this code to the Theme Settings > Custom JS on Document ready:
if (jQuery(window).width() <= 1920) { setTimeout(function() { var $tab = jQuery('.wd-tab-wrapper').find('a.active'); $tab.siblings('.wc-tab').hide(); $tab.removeClass('active'); }, 10); }
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register