Created
March 26, 2019 22:23
-
-
Save dooman87/d9793b4f6f20ccbbf9d3fb7c1e8c7b8d to your computer and use it in GitHub Desktop.
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
<div class="hero hero--{{ section.settings.hero_size }}{% if section.settings.title != blank or section.settings.text != blank or section.settings.button_label != blank %} hero__overlay{% endif %} box ratio-container lazyload js" | |
{% if section.settings.image %} | |
data-bgset="{% include 'bgset', image: section.settings.image %}" | |
data-sizes="auto" | |
data-parent-fit="cover" | |
style="background-position: {{ section.settings.alignment }}; background-image: url('{{ section.settings.image | img_url: '300x300' }});" | |
{% endif %}> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment