Jump to content

ievavi

Circle Member
  • Posts

    78
  • Joined

  • Last visited

Everything posted by ievavi

  1. @tuanphan, would you help me to implement this code from codepen too? https://codepen.io/arjancodes/pen/gbweYB Mysite: www.ievaviphoto.com
  2. Any insights how this could be appropriated for mobile view (that would go horizontal instead of vertical?)
  3. Site URL: https://ievaviphoto.com/ I would love testimonials in the following pages to have an autoplay feature, however the code below doesn't work. Any insights why? I use summary blocks - carousel. These are the pages I'm trying to add the code: https://ievaviphoto.com/wedding-photography-copenhagen https://ievaviphoto.com/lifestyle-photography-in-copenhagen <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { try { var container = Y.one("div#page-section-5f3e088ea1068224988e22e0"); /*change this to the slug of your page*/ var gallery = Y.Squarespace.GalleryManager.getGalleryByContainer(container); gallery.setAttrs({ "autoplay":true, "autoplayOptions": { "timeout":3000, /*make this higher to decrease speed, lower to increase it*/ "randomize": true } }); } catch (e) { console.error("Could not configure Gallery autoplay.", e); } }); </script>
  4. Anyone else has a take on how to solve this issue?
  5. Amazing! Will be looking forward to hearing your updates!!
  6. Brilliant! Will check those resources, @tuanphan @RyanDejaegher
  7. Couldn't really answer this question - this is what the client wanted
  8. Good point! Actually, yes :) Would you provide some help for this?
  9. Site URL: https://rocksforlife.com/ Hello, I'm looking for a solution how the shopping cart can automatically be emptied upon users leaving the site or closing their browsers. Any suggestions how this could be achieved? Thank you!
  10. Were you able to find a solution, @DevonHarris?
  11. Oh brilliant! It was a bug from my end 🙂
  12. Site URL: https://rocksforlife.com/ I would love the search bar to have rounded corners and the input text have a different font. How could I target the area? For some reason the following doesn't work: .sqs-search-page-input { border: 2px black yellow !important; border-radius: 14px !important; padding: 15px 15px 15px 45px; } Also, the search bar is only placed for mobile. Thank you loads! The site is: www.rocksforlife.com
  13. Following your post as well! Otherwise, you can try the paid solution: https://www.sqspthemes.com/plugins/related-posts-plugin 🙂
  14. Site URL: https://rocksforlife.com/ Looking for a solution to change the currency symbol across the e-commerce shop. It seems that JS will be needed since after choosing a variant (variants) the currency symbol goes back to default.. My aim is to swap “kr” to “DKK” CSS code I implemented: .sqs-money-native:before { content:'DKK '!important; } Site: https://rocksforlife.com/our-jewellery
  15. Would you be able to have a second look for mobile screen, @creedon? The button hops onto the second line once there is a longer text in it, however they are not all in alignment. I would like to remove that left margin and display them in 1x 3 ( separate in each line)
  16. Is there a solutions for users on Squarespace 7.0? @paul2009
  17. Sure thing! Just in my case, I want to change kr to DKK (and kr reappears once the variant is chosen) For example, https://rocksforlife.com/our-jewellery/no-1-solitaire-ring-white-gold
  18. Site URL: https://rocksforlife.com Could anyone help me out removing two last zeroes from product price? Example: 15,000.00 to 15,000 (so still keeping the comma in between) The code I used (and which is not achieving my desired result): <script src="https://cdn.jsdelivr.net/.../ready@1.4.0/dist/ready.umd.js"></script> <script>!function(){function reformatPrice(price){var priceClone=price.cloneNode(!0);function reformat(){priceClone.innerHTML=price.innerHTML;var target=priceClone.querySelector(".sqs-money-native")||priceClone,textNode=priceClone.querySelector(".sqs-money-native");target.textContent.length>1?target.textContent=format(target.textContent):textNode&&(textNode.textContent=format(textNode.textContent))}function format(text){return text.replace(",","").replace(/\.\d{2}/,"")}function watch(){var observer;new MutationObserver(reformat).observe(price,{childList:!0})}priceClone.classList.add("product-price-clone"),price.parentNode.insertBefore(priceClone,price.nextElementSibling),price.style.display="none",reformat(),watch()}ready(".product-price:not(.product-price-clone),.original-price:not(.product-price-clone)",reformatPrice)}();</script>
  19. Thanks for bringing attention to this resource. What if reformatting needs to be from 15,000.00 to 15,000 (so still keeping the comma in between) ?
  20. The code works great until you have to select a variant. Would anybody be able to help in making decimals stay once you select a variant? Website for the reference: https://rocksforlife.com/our-jewellery/no-1-solitaire-ring-white-gold All insights are very much appreciated!
  21. The code works great until you have to select a variant. Would anybody be able to help in making decimals stay once you select a variant? Website for the reference: https://rocksforlife.com/our-jewellery/no-1-solitaire-ring-white-gold All insights are very much appreciated! Maybe @brandon?
  22. Were you able to solve the issue @BarkBark? Have the same problem!
  23. It's strange! Because it does work for some products and for some doesn't. For example, https://rocksforlife.com/our-jewellery/single-pave-ring-yellow-gold still shows as SELECT SIZE on Mobile ...
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.