Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.05 KB | None | 0 0
  1. Actually you have this in your html product page (this is the only part do you need to change):
  2.  
  3. <div id="main">
  4. <div id="showdiv1"></div>
  5. <div id="showdiv1"></div>
  6. <div>
  7. <a href="#showdiv1" class="clicker" tabindex="1" id="tab1"> Features <i class="fa fa-plus"></i> </a> <a href="#hidediv1" class="clicker hidden" tabindex="1"> Features <i class="fa fa-minus"></i> </a>
  8. <div class="hiddendiv nr1">
  9. <br>
  10. <ul>
  11. <li>
  12. <strong>SKIN-FRIENDLY </strong> <br><span size="2" style="font-size: small;">The gloves are BPA free. The surface is made of soft silicone which is comfortable on the skin. The back is made out of durable and breathable mesh. so it is very comfortable to use.</span>
  13. </li>
  14. <li>
  15. <strong>PERFECT FOR ALL COAT TYPES</strong> <br><span size="2" style="font-size: small;">They do an excellent job on hair removal, whether the pet has long or short hair and whether you are using it in dry or wet conditions.</span>
  16. </li>
  17. <li>
  18. <strong>FIVE-FINGER DESIGN</strong> <br><span size="2" style="font-size: small;">Glove gently imitates the real touch of your hand. Let your fur-baby think he is getting massaged instead of groomed.</span>
  19. </li>
  20. <li>
  21. <strong>USE IT WET OR DRY</strong> <br>It's great for bathing your pet, washing with waterless shampoo or cleaning with detangling spray.</li>
  22. <li>
  23. <strong>DESIGNED WITH SOFT RUBBER TIPS</strong> <br><span size="2" style="font-size: small;">Gently fix nasty tangles and mats while lifting dirt and dust from the fur, IT IS WASHABLE, Simply dry under the Sun after using.</span>
  24. </li>
  25. <li>
  26. <strong> ADJUSTABLE WRIST STRAP</strong> <br><span size="2" style="font-size: small;">gently secures glove on any hand.</span>
  27. </li>
  28. <li>
  29. <strong> EASY TO CLEAN</strong> <br><span size="2" style="font-size: small;">When grooming session is finished – simply peel the hair off and throw it away.</span>
  30. </li>
  31. </ul>
  32. </div>
  33. </div>
  34. <div id="showdiv2"></div>
  35. <div>
  36. <a href="#showdiv2" class="clicker" tabindex="2">Shipping<i class="fa fa-plus"></i></a> <a href="#hidediv2" class="clicker hidden" tabindex="2">Shipping<i class="fa fa-minus"></i></a>
  37. <div class="hiddendiv nr2">
  38. <p><strong>How long will my purchase take to arrive?</strong></p>
  39. <p>Your order is sent from a worldwide fulfillment center and typically takes 10-14 days to arrive. Please allow 24-48 hours to process your order.</p>
  40. <p>&nbsp;</p>
  41. <p><strong>Do you provide order tracking?</strong></p>
  42. <p>Yes, a tracking number is sent with every order after processing. We pride ourselves on customer service and will endeavor to fix any issues as soon as possible.</p>
  43. <p>&nbsp;</p>
  44. <p><strong>What is the shipping cost?</strong></p>
  45. <p>Shipping is FREE for all major countries!</p>
  46. <p>&nbsp;</p>
  47. </div>
  48. <hr style="border-width: medium;">
  49. <center><img src="https://cdn.shopify.com/s/files/1/0286/4866/9321/files/sitebadgessafety-570x137_1beb536b-5f27-4d7a-bfd8-462a63041670.png?v=1578866098"></center>
  50. </div>
  51. </div>
  52.  
  53. So, you have to change it to:
  54.  
  55. <div id="main">
  56. <div class="shopify_explorer_faq__item shopify_explorer_faq__item--expandable">
  57. <h3 class="shopify_explorer_faq__question h5 link">What payment methods do you accept?</h3>
  58. <div class="shopify_explorer_faq__answer rte" style="display: none;">
  59. <p>We accept all major credit cards (Visa, MasterCard, Discover, American Express).</p>
  60. </div>
  61. </div>
  62. <div class="shopify_explorer_faq__item shopify_explorer_faq__item--expandable">
  63. <h3 class="shopify_explorer_faq__question h5 link">What payment methods do you accept?</h3>
  64. <div class="shopify_explorer_faq__answer rte" style="display: none;">
  65. <p>We accept all major credit cards (Visa, MasterCard, Discover, American Express).</p>
  66. </div>
  67. </div>
  68. <div>
  69. <hr style="border-width: medium;">
  70. <center><img src="https://cdn.shopify.com/s/files/1/0286/4866/9321/files/sitebadgessafety-570x137_1beb536b-5f27-4d7a-bfd8-462a63041670.png?v=1578866098"></center>
  71. </div>
  72. </div>
  73.  
  74.  
  75. Also do you need to add this to your JS scripts (almost same that code in faq page):
  76.  
  77. (function() {
  78. $('body').on('click', '.shopify_explorer_faq__question', function() {
  79. $(this).next('.shopify_explorer_faq__answer').slideToggle(150).toggleClass('active');
  80. $(this).toggleClass('active');
  81. $(".shopify_explorer_faq__question").not(this).next('.shopify_explorer_faq__answer').slideUp(150).removeClass('active');
  82. $(".shopify_explorer_faq__question").not(this).removeClass('active');
  83. });
  84.  
  85. $(document).on('shopify:block:select', '#shopify-section-page-shopify_explorer_faq-template', function(event) {
  86. $(event.target).find('.shopify_explorer_faq__answer').slideDown(150);
  87. });
  88.  
  89. $(document).on('shopify:block:deselect', '#shopify-section-page-shopify_explorer_faq-template', function(event) {
  90. $(event.target).find('.shopify_explorer_faq__answer').slideUp(150);
  91. });
  92.  
  93. })();
  94.  
  95. Once you make changes, let me know what changes you want to make (css tweaks and fixes)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement