Hoppa till huvudinnehåll

Footer Template

The footer is part of the default template in Snowfire, but users can create custom footers or remove it entirely using Firecode.

Uppdaterad för mer än en vecka sedan

The footer is part of the default template in Snowfire, but users can create custom footers or remove it entirely using Firecode.

Default Footer Options

  • Two built-in footers are available by default: echo-footer-1 and echo-footer-2

  • Users can select their preferred footer in Appearance settings

  • Each footer functions as a separate file that can be customized

Creating Custom Footers

  • Custom footers created in Firecode override default footers for all templates

  • Configuration is managed through _settings.json

  • Removing specific configuration lines reverts to the default footer

  • Multiple footer concepts can be tested

Styling Guidelines

Naming Conventions

  • Default footers are named echo-footer-1 and echo-footer-2

  • All default styles use namespace prefix .echo-footer-X

  • When creating custom classes, avoid using "echo" or "sf" prefixes to prevent conflicts with official styles

  • Add footer styles to the style.scss file

Content Tags in Footers

Requirements

  • Must use numeric IDs between 200-299

  • Must include sync-id attribute to maintain data consistency across all website pages

Example

<sf-text id="201" sync-id="201" include="bold,italic,link,bullet"></sf-text>

This demonstrates adding editable text content to the footer while maintaining synchronization across pages.

Fick du svar på din fråga?