yokomegro Posted September 22, 2023 Share Posted September 22, 2023 Hello! We use accordion functions on the site, but this message "*Accordion Page Settings*/" is always appear on the top left of the first page during loading the site content. We'd like to know how to hide that message. Any suggestion would help, thank you. Link to comment
paul2009 Posted September 22, 2023 Share Posted September 22, 2023 It sounds like you are missing a “/“ just before this text. Look for the line of text wherever you inserted the code. If you need help, please provide a working link to the page. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
yokomegro Posted October 6, 2023 Author Share Posted October 6, 2023 Hi, paul, Thank you so much for you comment! Sorry for the late reply but the texts appears including "/" . /*Accordion Page Settings*/ The web site has published and you can access here. https://yuwau.com/ The page which has accordion function is... https://yuwau.com/marriage (at the bottom part of the page) If you have any advise to us, it would be really appreciated!!! Yoko Link to comment
JayVanDyke Posted October 6, 2023 Share Posted October 6, 2023 You have the wrong comment type. It should look like this <!-- Accordion Page Settings --> paul2009 1 ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs 🛠️ Web Designer's Toolkit **some of these contain affiliate links Link to comment
Solution paul2009 Posted October 6, 2023 Solution Share Posted October 6, 2023 As @jaeveedee explained above, these aren't the correct comment tags to use for HTML. You can use "/* and "*/" within a script, or within CSS, but not HTML. Your HTML (in code injection) looks like this: /*Accordion Page Settings*/ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> The first line should look like this: <!-- Accordion Page Settings --> Also, for completeness, I should mention that the second line of your code is loading a very old version (version 3.3.1 from 2018!) of jQuery that has known security vulnerabilities. It would be better to load a more recent version. For example, to use version 3.7.1, you could use: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous"></script> I hope this helps! Did this help? Please give feedback by clicking an icon below ⬇️ yokomegro 1 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional. Would you like your customers to be able to mark their favourite products in your Squarespace store? Link to comment
yokomegro Posted October 24, 2023 Author Share Posted October 24, 2023 @paul2009 Thank you so much for your detail information! Imade it finally. I understand the difference of comment tag between on HTML and CSS. Once I tried the new script that you recommend, but it did't work properly, and I found another newer script and it's done. Thank you for your help! Your patient and precise support is so special for me like a beginner. paul2009 1 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