uidaholib / collectionbuilder-cdm-template

template used to build digital collection sites at University of Idaho Library
https://www.lib.uidaho.edu/digital/
MIT License
3 stars 8 forks source link

make responsive banner padding based on theme setting #60

Closed evanwill closed 4 years ago

evanwill commented 5 years ago

home-title-box padding on mobile should be based on theme.home-title-y-padding some how, since it is currently hard coded as 5em.

maybe like theme.home-title-y-padding - 2em or /1.5 or something? https://help.shopify.com/en/themes/liquid/filters/math-filters

just need to ensure we don't end up setting it to zero/negative if the original is small.