-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add header and footer section groups (#2191)
- Loading branch information
1 parent
118c540
commit 43025db
Showing
25 changed files
with
163 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"name": "t:sections.footer.name", | ||
"type": "footer", | ||
"sections": { | ||
"footer": { | ||
"type": "footer", | ||
"blocks": { | ||
"footer-0": { | ||
"type": "link_list", | ||
"settings": { | ||
"heading": "Quick links", | ||
"menu": "footer" | ||
} | ||
}, | ||
"footer-1": { | ||
"type": "link_list", | ||
"settings": { | ||
"heading": "Info", | ||
"menu": "footer" | ||
} | ||
}, | ||
"footer-2": { | ||
"type": "text", | ||
"settings": { | ||
"heading": "Our mission", | ||
"subtext": "<p>Share contact information, store details, and brand content with your customers.<\/p>" | ||
} | ||
} | ||
}, | ||
"block_order": [ | ||
"footer-0", | ||
"footer-1", | ||
"footer-2" | ||
], | ||
"settings": { | ||
"color_scheme": "background-1", | ||
"newsletter_enable": true, | ||
"newsletter_heading": "Subscribe to our emails", | ||
"show_social": true, | ||
"enable_country_selector": false, | ||
"enable_language_selector": false, | ||
"payment_enable": true, | ||
"margin_top": 48, | ||
"padding_top": 36, | ||
"padding_bottom": 36 | ||
} | ||
} | ||
}, | ||
"order": [ | ||
"footer" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"name": "t:sections.header.name", | ||
"type": "header", | ||
"sections": { | ||
"announcement-bar": { | ||
"type": "announcement-bar", | ||
"blocks": { | ||
"announcement-bar-0": { | ||
"type": "announcement", | ||
"settings": { | ||
"text": "Welcome to our store", | ||
"text_alignment": "center", | ||
"color_scheme": "background-1", | ||
"link": "" | ||
} | ||
} | ||
}, | ||
"block_order": [ | ||
"announcement-bar-0" | ||
] | ||
}, | ||
"header": { | ||
"type": "header", | ||
"settings": { | ||
"color_scheme": "background-1", | ||
"logo": "{{ shop.brand.logo }}", | ||
"logo_width": 90, | ||
"logo_position": "middle-left", | ||
"menu": "main-menu", | ||
"menu_type_desktop": "dropdown", | ||
"show_line_separator": true, | ||
"enable_sticky_header": true, | ||
"mobile_logo_position": "center", | ||
"margin_bottom": 0, | ||
"padding_top": 20, | ||
"padding_bottom": 20 | ||
} | ||
} | ||
}, | ||
"order": [ | ||
"announcement-bar", | ||
"header" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
@utkarshsaxena93 Looks like

"class": "section"
shouldn't have been removed... It breaks the Theme Settings > Layout > Spacing between sections (default is 0px):