MJohn Posted July 14, 2022 Share Posted July 14, 2022 Hi everyone, I used the script provided here: https://sf.digital/squarespace-solutions/date-styles-on-squarespace-71-blog-posts And I'm wondering if it's possible to remove the comma in between the date. https://www.hvmc.sg/blog/an-outing-of-smiles Thanks! 👋 Michelle John 💕 Catchafire volunteer 🖥️ Web & graphic design for churches, nonprofits & small businesses 🔗 brambledesign.co Link to comment
tuanphan Posted July 14, 2022 Share Posted July 14, 2022 Comma between JUL & 2022? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
MJohn Posted July 14, 2022 Author Share Posted July 14, 2022 Yes that's right! 1 hour ago, tuanphan said: Comma between JUL & 2022? 👋 Michelle John 💕 Catchafire volunteer 🖥️ Web & graphic design for churches, nonprofits & small businesses 🔗 brambledesign.co Link to comment
MJohn Posted July 14, 2022 Author Share Posted July 14, 2022 Also, is there a way to switch the month and day on the Summary Block to be day/month/year and also without the comma? 👋 Michelle John 💕 Catchafire volunteer 🖥️ Web & graphic design for churches, nonprofits & small businesses 🔗 brambledesign.co Link to comment
MJohn Posted July 15, 2022 Author Share Posted July 15, 2022 Anyone has a solution to this? 👋 Michelle John 💕 Catchafire volunteer 🖥️ Web & graphic design for churches, nonprofits & small businesses 🔗 brambledesign.co Link to comment
tuanphan Posted July 18, 2022 Share Posted July 18, 2022 Use this script code <script> $(document).ready(function(){ $("time span").html(function() { return $(this).html().replace(",", ""); }); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
ShortAngryViking Posted August 24, 2022 Share Posted August 24, 2022 On 7/18/2022 at 7:46 PM, tuanphan said: <script> $(document).ready(function(){ $("time span").html(function() { return $(this).html().replace(",", ""); }); }); </script> is this in Settings > Advanced > Code Injection > Header ? Link to comment
tuanphan Posted August 26, 2022 Share Posted August 26, 2022 On 8/24/2022 at 11:15 AM, ShortAngryViking said: is this in Settings > Advanced > Code Injection > Header ? Code Injection > Footer If the code doesnt work, keep the code in Footer & add this code to Header <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment