How can I edit the spacing on a craft footer?

Topic summary

A user wants to reduce excessive line spacing in their Craft theme footer address section. The goal is to make contact information appear more compact without extra gaps between lines.

Initial Solutions Attempted:

  • PageFly-Victor first suggested modifying section-footer.css by adjusting line-height to 16px for .footer-block__details-content
  • This approach didn’t produce the desired effect

Successful Solution:

  • After clarification that the user wanted to eliminate spacing rather than shrink text size, PageFly-Victor provided CSS code to be added before the </body> tag in the theme.liquid file
  • The specific CSS targets footer block details content spacing
  • This solution successfully removed the unwanted line gaps

Status: Resolved. The user confirmed the final CSS code worked as intended.

Follow-up: Another user (kaka4) asked how to add company address and contact email to the Craft theme footer, suggesting this is a common customization need.

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

@PageFly-Victor