Hello, currently using this code for an accordion footer on the Origin theme. What would need to be added to remove this space?
Topic summary
A user is implementing accordion functionality in their footer on the Origin theme for mobile devices (max-width: 749px). They shared CSS and JavaScript code to create collapsible footer sections with +/- indicators.
Issue identified: Unwanted bottom spacing/margin remained after implementing the accordion.
Solution provided: Add the following CSS to remove the extra space:
.footer__blocks-wrapper.grid.grid--1-col {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
.footer__content-top {
margin-bottom: 0 !important;
}
Follow-up request: The user asked how to make the accordion opening/closing animation smoother instead of abrupt.
Suggested approach: Implement CSS transition properties on the accordion elements when they expand or collapse. The discussion remains open regarding specific transition code implementation.
there will be some margin on the bottom that needs to be remove, if you provide the url i can share the code with you to remove the space.
thanks
Sorry, printsofwhatever.com password: teunto
@media (max-width: 749px) {
.footer__blocks-wrapper.grid.grid--1-col {
margin-bottom: 0 !important;
}
.footer__content-top {
padding-bottom: 0 !important;
}
}
Thanks again, works perfectly.
no problem ![]()
If itβs not too much trouble, do you know what Iβd have to add to make the opening of the accordion smoother? Instead of being so abrupt.
you can write some css transition code for your accordion once the object is expand or collapse. Hopefully you have idea of adding css or transition in CSS.

