neal_bryant
-
Posts
38 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by neal_bryant
-
-
Hello all,
Wondering if somebody can help me with this.
I'm looking to create a footer where a list of URLs collapse into an accordion on mobile only. I would like this to work in the same way as how the footer works on squarespace.com.
I've found this approach on stack overflow, which appears like it should work, but i'm unsure of how to integrate the jquery portion of the code. I presume it needs to be tweaked in order to work within the header/footer within code injection, but I can't seem to get it working.
Also, very happy to look at a different approach if there's something that might be more suitable to a squarespace site.Any advise would really be appreciated.
Thanks,
Neal -
-
Hey @tuanphan sorry to resurrect an old thread.
Thank you for the answer that you provided previously here. I'm using this approach to try and hide "Posts in" altogether and instead want to just show the category name.
That's seems to be working in the SS preview, but on the live site "Posts in" still outputs on the first page load, but does disappear if you refresh the page. Is it possible that the footer code injection is being ignored on first load? I've tried adding it to the header instead of the footer and had the same issue.
Any thoughts would be really appreciated if you have time to give it a quick look.
Thanks,
Neal
How to Create Accordion Menu Footer For Mobile Only
in Site Design & Styles
Posted
Ah yes, that's a good idea @tuanphan
Thank you very much for the advice. Have a good week.