Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Using Wrapper Frame in an app section

Using Wrapper Frame in an app section

Andrew-Corknine
Explorer
76 1 29

We are creating an app section and would like it to respect the default margins(left and right) when it is added to a theme.

 

Is there a way we can pass ```wrapper``` or a different option in our app section that will make it respect the themes default left and right margins instead of being full width?

Reply 1 (1)

Liam
Community Manager
3108 344 904

Hi @Andrew-Corknine 

 

Thanks for your question and description of this use-case for ensuring consistent styling between an app section and the rest of the theme. We're exploring how best to apply properties and styles to app sections, and I'll update here when we have finalized an option for this.

 

Cheers,

 

Liam Griffin

Shopify | Developer Community Manager

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog