Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Re: Padding in specific location - Dawn

Solved

Padding in specific location - Dawn

ZigguZ
Excursionist
18 0 14

Hi,

 

Im running the dawn theme and I would like to be able to add padding between two specific sections.

I dont want to add extra padding everywhere, just in one particular place.

I there a short code that I can use in the custom liquid section in order to add a specific amount of padding?

 

thanks!

Accepted Solution (1)

made4Uo
Shopify Partner
3856 717 1197

This is an accepted solution.

Hi @ZigguZ;

 

You can add an empty div and just adjust the height on how much space you want. You can copy this to the custom.liquid. 

 

<div style="width: 100%; height: 1rem">&nbsp</div>

 Mark as a solution if it helps (",)

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

View solution in original post

Replies 2 (2)

made4Uo
Shopify Partner
3856 717 1197

This is an accepted solution.

Hi @ZigguZ;

 

You can add an empty div and just adjust the height on how much space you want. You can copy this to the custom.liquid. 

 

<div style="width: 100%; height: 1rem">&nbsp</div>

 Mark as a solution if it helps (",)

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
ZigguZ
Excursionist
18 0 14

@made4Uo 

 

Works like a charm, thanks bud!