Urgent - I destroyed my footer

Topic summary

A user accidentally broke their footer while attempting to add collapsible rows using code found on the forum. The Dawn theme footer now displays an oversized logo and stacked text elements (like “shipping policy”).

Key Issues:

  • Footer layout severely disrupted after implementing collapsible functionality
  • Unable to revert changes despite attempts

Code Problem:
The provided CSS and JavaScript snippet appears incomplete or corrupted—the CSS contains a malformed property (visibility: vi) and the JavaScript is embedded within the style tags rather than properly separated.

Current Status:
A community expert has requested the store URL to provide direct troubleshooting assistance. The discussion remains open with no resolution yet.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hello,

I tried to make collapsible rows in my footer and used a code from this forum. But it really messed up the footer and it looks horrible, and for some reason i can’t get it back.

The logo in my footer is now extremely large and the “shipping policy” etc is stapled on each other.
I’m using DAWN-theme.

Can someone pleeease help me with this?

This is the code in “section-footer.css”:

@media (max-width: 749px) { .grid .footer-block.grid__item { margin: 0; } .grid .footer-block__heading { position: relative; margin: 0; padding: 1.5rem 0; cursor: pointer; } .grid .footer-block__heading::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 20px; text-align: center; } .grid .footer-block__heading:not(.block-collapsed)::after { content: "-"; } .grid .footer-block__heading.block-collapsed + .footer-block__details-content { visibility: hidden; opacity: 0; height: 0; margin: 0; padding: 0; transition: all .2s ease-out; overflow: hidden; } .grid .footer-block__heading + .footer-block__details-content { visibility: visible; opacity: 1; height: auto; transition: all .2s ease-out; overflow: hidden; margin-bottom: 3rem; } }

Hi @E-shop_1 ,

can you please share the store url?