Jump to content

how to hide the message "*Accordion Page Settings*/"

Go to solution Solved by paul2009,

Recommended Posts

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

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. 

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
  • 2 weeks later...
  • Solution

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  ⬇️

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

Link to comment
  • 3 weeks later...

@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.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.