Tagged: x
-
AuthorPosts
-
May 10, 2016 at 6:42 am #983907
preetgaParticipantHi there,
I am unable to view my product reviews in mobile/tablet format. When I click the “review” tab, nothing happens. e.g: http://www.naturalhealthstar.com/healthstore/for-babies-and-children/
Also, would it be possible for the review tab to be selected as default?
I’d really appreciate your help!
Best regards,
PreetMay 10, 2016 at 9:05 am #984128
ThaiModeratorHi There,
Please add the following code under Customizer > Custom > Global Javascript:
jQuery(function($) { $(".woocommerce-tabs ul li").removeClass('acitve'); $(".woocommerce-tabs ul li.reviews_tab").addClass('acitve'); $('.x-nav-tabs>li>a').off('click touchend touchstart'); });Hope it helps 🙂
May 31, 2016 at 9:44 am #1018219
preetgaParticipantThanks so much this is great.
Would it be possible for the review tab to be pre selected as default instead of the description tab please?
Thanks,
PreetMay 31, 2016 at 10:02 am #1018247
RupokMemberHi Preet,
Thanks for updating. Actually that was also covered on the reply but there is small typo that’s why it’s not working properly. Kindly update the code a bit :
jQuery(function($) { $(".woocommerce-tabs ul li").removeClass('active'); $(".woocommerce-tabs ul li.reviews_tab").addClass('active'); $('.x-nav-tabs>li>a').off('click touchend touchstart'); });Hope this helps.
Cheers!
May 31, 2016 at 5:08 pm #1018905
preetgaParticipantHi, this is still not quite working properly. It highlights the review tab title but the tab is not selected so you cannot actually see the reviews by default. Have a look at this product as an example:
http://www.naturalhealthstar.com/healthstore/for-babies-and-children/
thanks for your help!
May 31, 2016 at 11:31 pm #1019396
LelyModeratorHi There,
Can you refresh and then check again? I tried it on my mobile and I can see the review. Please see attached screenshot.
June 1, 2016 at 3:33 am #1019604
preetgaParticipantHi there,
No this definitley doesnt work for me, even after refreshing. On my mobile and on my laptop I only get “reviews” highlighted but the tab shows the test for “description”. I’ve attached a screenshot of my screen.
Thanks,
PreetJune 1, 2016 at 3:35 am #1019605
preetgaParticipantscreenshot attached
June 1, 2016 at 3:35 am #1019606
preetgaParticipantscreen shot file is too big for me to upload even when I compress it sorry!
Could you please check the code for me?
June 1, 2016 at 4:17 am #1019645
ThaiModeratorHi There,
Please update the previous code a bit:
jQuery(function($) { $(".woocommerce-tabs ul li").removeClass('active'); $("#tab-description").hide(); $(".woocommerce-tabs ul li.reviews_tab").addClass('active'); $("#tab-reviews").show(); $('.x-nav-tabs>li>a').off('click touchend touchstart'); });Hope it helps 🙂
June 2, 2016 at 4:24 am #1021785
preetgaParticipantThat works perfectly now, thank you so much for your help!
Preet
June 2, 2016 at 7:12 am #1021984
Paul RModeratorYou’re welcome! 🙂
June 21, 2016 at 3:25 am #1052131
preetgaParticipantHi there,
since upgrading theme x, this no longer works and I can no longer see the reviews tab as default. The ‘Review’ tab title is highlighted but the reviews are not actually showing as default. See this link as an example: http://www.naturalhealthstar.com/healthstore/for-babies-and-children/
Please help.
Regards,
PreetJune 21, 2016 at 3:49 am #1052171
ChristopherModeratorHi there,
Please update your JS code to :
jQuery(function($) { $(".woocommerce-tabs ul li,.x-tab-pane.fade.in.description_pane").removeClass('active'); $(".woocommerce-tabs ul li.reviews_tab, .x-tab-pane.fade.in.reviews_pane").addClass('active'); $('.x-nav-tabs>li>a').off('click touchend touchstart'); });Thanks.
June 21, 2016 at 6:06 am #1052308
preetgaParticipantThat’s great thank you so much!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-983907 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
