Andrew101 Posted October 10 Share Posted October 10 (edited) Hello friends! On my portfolio page there, when I scan for SEO it shows multiple H1s, which are the titles on the individual titles i.e Cultivating Conversations. How do I change those to an H2 or something else? Thank you! Page in question is here: https://bardamuconsulting.ca/web-design-portfolio Edited October 10 by Andrew101 not sure if URL was showing. Link to comment
Inspirerd Posted October 25 Share Posted October 25 Hey @Andrew101! Wow, good catch! I need to fix this on my website (revised: just did with the plugin). To the best of my knowledge, you can't change that in Squarespace. Luckily I had a snippet of code for something similar. Here is a pure Javascript solution (no-need for jQuery). It's worth mentioning, that to utilize this code (or any other JavaScript solution), you'd need to be on a Squarespace plan that supports JavaScript. I published it as a free plugin, but you can find the code here. Add the code snippet to your blog page header code (settings icon for blog page -> advanced -> Page Header Code Injection) or use a code block on the blog page. *Note this is your blog collection page (the one that shows all your posts), not an individual blog post page. <script src="https://cdn.jsdelivr.net/gh/Excito-LLC/squarespace-plugins@main/plugins/blog-page-headings-fix-plugin/plugin.min.js"></script> While testing I noticed that in some cases there was a bug that caused the heading not to show up because of Squarespace animations. I realized that I don't have animations on my website enabled, so I enabled it to test it out and it worked. However, I couldn't test it on your website with header code, so I made a fix just in case. Try the above code on your website. If you see the bug where the heading's don't appear, try the following code: <script> var EXC_BLOG_PAGE_HEADINGS_PLUGIN_CONFIG = { fixAnimationBug: true, }; </script> <script src="https://cdn.jsdelivr.net/gh/Excito-LLC/squarespace-plugins@main/plugins/blog-page-headings-fix-plugin/plugin.min.js"></script> Hope this helps! Let me know if you have any updates or questions. Daniel Andrew101 1 Daniel Rodrigues | Excito LLC Squarespace Web Design for Photographers & Creatives 🌐 https://www.excitollc.com/ | ✉ Contact Me: daniel@excitollc.com 💡 Squarespace Enthusiast | 📖 Squarespace Design Blog for Photographers 🤝 Always happy to help and collaborate! Connect with me on LinkedIn. Link to comment
Andrew101 Posted October 25 Author Share Posted October 25 @Inspirerd Thank you! I appreciate that and respect your knowledge, very cool! I will test the code and let you know! Inspirerd 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