rebly-sections 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (161) hide show
  1. package/assets/data/block-patterns.csv +160 -0
  2. package/assets/data/component-library/GDPR-modal.liquid +183 -0
  3. package/assets/data/component-library/Ishi_parallaxblockstyle1.liquid +331 -0
  4. package/assets/data/component-library/_index.csv +157 -19
  5. package/assets/data/component-library/about.liquid +1557 -0
  6. package/assets/data/component-library/adv-header.liquid +344 -0
  7. package/assets/data/component-library/adv-navigation.liquid +542 -0
  8. package/assets/data/component-library/announcement-bar.liquid +42 -60
  9. package/assets/data/component-library/article.liquid +242 -0
  10. package/assets/data/component-library/axeo-perfume-cosmetics-store-shopify-theme-about.liquid +1557 -0
  11. package/assets/data/component-library/basel-gl_newsletter_pets.liquid +612 -0
  12. package/assets/data/component-library/bixbang-fullpackage-collection-template.liquid +990 -0
  13. package/assets/data/component-library/blog-sidebar-article.liquid +51 -0
  14. package/assets/data/component-library/blog-sidebar-deals.liquid +189 -0
  15. package/assets/data/component-library/blog-sidebar-instagram.liquid +126 -0
  16. package/assets/data/component-library/blog-sidebar-tags.liquid +30 -0
  17. package/assets/data/component-library/blog.liquid +371 -0
  18. package/assets/data/component-library/brands-page.liquid +114 -0
  19. package/assets/data/component-library/cake-shop-shopify-theme-for-bakery-and-cafe-home-support-blo.liquid +780 -0
  20. package/assets/data/component-library/collection-template-promotion.liquid +1139 -0
  21. package/assets/data/component-library/collection-template.liquid +146 -0
  22. package/assets/data/component-library/contact-us.liquid +663 -0
  23. package/assets/data/component-library/contact.liquid +256 -0
  24. package/assets/data/component-library/copyright_payment.liquid +95 -0
  25. package/assets/data/component-library/custom-content.liquid +832 -0
  26. package/assets/data/component-library/faq-template-3.liquid +1014 -0
  27. package/assets/data/component-library/footer-model-1.liquid +503 -0
  28. package/assets/data/component-library/footer-model-10.liquid +210 -0
  29. package/assets/data/component-library/footer-model-2.liquid +460 -0
  30. package/assets/data/component-library/footer-model-3.liquid +548 -0
  31. package/assets/data/component-library/footer-model-4.liquid +455 -0
  32. package/assets/data/component-library/footer-model-5.liquid +407 -0
  33. package/assets/data/component-library/footer-model-6.liquid +543 -0
  34. package/assets/data/component-library/footer-model-7.liquid +345 -0
  35. package/assets/data/component-library/footer-model-8.liquid +279 -0
  36. package/assets/data/component-library/footer-model-9.liquid +376 -0
  37. package/assets/data/component-library/gallery.liquid +236 -0
  38. package/assets/data/component-library/gecko-shopify-v5-7-6-nulled-manual_blog.liquid +720 -0
  39. package/assets/data/component-library/gl_newsletter_pets.liquid +612 -0
  40. package/assets/data/component-library/gp-logo-list.liquid +362 -0
  41. package/assets/data/component-library/grid-banner-type-3-b.liquid +655 -0
  42. package/assets/data/component-library/header-model-1.liquid +427 -0
  43. package/assets/data/component-library/header-model-10.liquid +599 -0
  44. package/assets/data/component-library/header-model-2.liquid +633 -0
  45. package/assets/data/component-library/header-model-3.liquid +415 -0
  46. package/assets/data/component-library/header-model-4.liquid +754 -0
  47. package/assets/data/component-library/header-model-5.liquid +562 -0
  48. package/assets/data/component-library/header-model-6.liquid +713 -0
  49. package/assets/data/component-library/header-model-7.liquid +743 -0
  50. package/assets/data/component-library/header-model-8.liquid +500 -0
  51. package/assets/data/component-library/header-model-9.liquid +506 -0
  52. package/assets/data/component-library/home-blog-posts-1.liquid +399 -0
  53. package/assets/data/component-library/home-blog-posts-2.liquid +393 -0
  54. package/assets/data/component-library/home-blog-posts-3.liquid +545 -0
  55. package/assets/data/component-library/home-brand-slider.liquid +224 -0
  56. package/assets/data/component-library/home-circled-block.liquid +332 -0
  57. package/assets/data/component-library/home-contact-block-1.liquid +395 -0
  58. package/assets/data/component-library/home-contact-block-2.liquid +372 -0
  59. package/assets/data/component-library/home-content-block-1.liquid +320 -0
  60. package/assets/data/component-library/home-donut-chart.liquid +335 -0
  61. package/assets/data/component-library/home-fade-in-banner.liquid +277 -0
  62. package/assets/data/component-library/home-faq-model.liquid +323 -0
  63. package/assets/data/component-library/home-featured-blog.liquid +1462 -0
  64. package/assets/data/component-library/home-featured-collections.liquid +484 -0
  65. package/assets/data/component-library/home-gallery-block1.liquid +276 -0
  66. package/assets/data/component-library/home-gallery-block2.liquid +396 -0
  67. package/assets/data/component-library/home-grid-banner-type-1.liquid +371 -0
  68. package/assets/data/component-library/home-grid-banner-type-2.liquid +362 -0
  69. package/assets/data/component-library/home-grid-banner-type-3.liquid +374 -0
  70. package/assets/data/component-library/home-grid-banner-type-4.liquid +900 -0
  71. package/assets/data/component-library/home-grid-banner-type-5.liquid +368 -0
  72. package/assets/data/component-library/home-grid-banner-type-6.liquid +382 -0
  73. package/assets/data/component-library/home-grid-banner-type-7.liquid +371 -0
  74. package/assets/data/component-library/home-hotspot-with-product-carousel.liquid +1425 -0
  75. package/assets/data/component-library/home-image-gallery.liquid +1087 -0
  76. package/assets/data/component-library/home-instagram.liquid +356 -0
  77. package/assets/data/component-library/home-newsletter.liquid +246 -0
  78. package/assets/data/component-library/home-number-counter.liquid +790 -0
  79. package/assets/data/component-library/home-price-table.liquid +416 -0
  80. package/assets/data/component-library/home-pricing-table.liquid +1076 -0
  81. package/assets/data/component-library/home-product-grid.liquid +413 -0
  82. package/assets/data/component-library/home-product-tab-1.liquid +528 -0
  83. package/assets/data/component-library/home-product-tab-2.liquid +342 -0
  84. package/assets/data/component-library/home-product-tab-3.liquid +357 -0
  85. package/assets/data/component-library/home-product-vertical-carousel.liquid +477 -0
  86. package/assets/data/component-library/home-quotes-1.liquid +274 -0
  87. package/assets/data/component-library/home-quotes-2.liquid +239 -0
  88. package/assets/data/component-library/home-quotes-3.liquid +244 -0
  89. package/assets/data/component-library/home-quotes-4.liquid +258 -0
  90. package/assets/data/component-library/home-slider-width-promo-images.liquid +1377 -0
  91. package/assets/data/component-library/home-slideshow-type-1.liquid +656 -0
  92. package/assets/data/component-library/home-slideshow-type-2.liquid +570 -0
  93. package/assets/data/component-library/home-specification-block-1.liquid +468 -0
  94. package/assets/data/component-library/home-specification-block-2.liquid +291 -0
  95. package/assets/data/component-library/home-specification-block-3.liquid +429 -0
  96. package/assets/data/component-library/home-support-block.liquid +392 -0
  97. package/assets/data/component-library/home-testimonial.liquid +1348 -0
  98. package/assets/data/component-library/home-video-banner.liquid +317 -0
  99. package/assets/data/component-library/home-wide-banner.liquid +327 -0
  100. package/assets/data/component-library/icon-with-content.liquid +478 -0
  101. package/assets/data/component-library/instafeed.liquid +1 -0
  102. package/assets/data/component-library/kea-ecommerce-interior-furniture-shopify-theme-about.liquid +1300 -0
  103. package/assets/data/component-library/kidslife-responsive-shopify-theme-home-number-counter.liquid +729 -0
  104. package/assets/data/component-library/logo-bar.liquid +314 -0
  105. package/assets/data/component-library/lookbook.liquid +367 -0
  106. package/assets/data/component-library/manual_blog.liquid +724 -0
  107. package/assets/data/component-library/navigation-etc.liquid +642 -0
  108. package/assets/data/component-library/newsletter.liquid +246 -0
  109. package/assets/data/component-library/order-form.liquid +96 -0
  110. package/assets/data/component-library/page-catev1-template.liquid +344 -0
  111. package/assets/data/component-library/popup_video.liquid +396 -0
  112. package/assets/data/component-library/product-sidebar-bestsellers.liquid +99 -0
  113. package/assets/data/component-library/product-sidebar-deals.liquid +158 -0
  114. package/assets/data/component-library/product-template-2.liquid +629 -0
  115. package/assets/data/component-library/product-template-3.liquid +670 -0
  116. package/assets/data/component-library/product-template-4.liquid +627 -0
  117. package/assets/data/component-library/product-template-5.liquid +652 -0
  118. package/assets/data/component-library/product-template.liquid +698 -0
  119. package/assets/data/component-library/rich-text.liquid +541 -0
  120. package/assets/data/component-library/section-countdown-v2.liquid +215 -0
  121. package/assets/data/component-library/services.liquid +596 -0
  122. package/assets/data/component-library/shipping_info.liquid +327 -0
  123. package/assets/data/component-library/sidebar-bestsellers.liquid +109 -0
  124. package/assets/data/component-library/sidebar-category.liquid +105 -0
  125. package/assets/data/component-library/sidebar-colors.liquid +104 -0
  126. package/assets/data/component-library/single_product_feature.liquid +1892 -0
  127. package/assets/data/component-library/social-links-menu.liquid +244 -0
  128. package/assets/data/component-library/someone-purchased.liquid +190 -0
  129. package/assets/data/component-library/special-offer-area.liquid +530 -0
  130. package/assets/data/component-library/theno-minimal-clean-watch-store-shopify-theme-page-catev1-te.liquid +344 -0
  131. package/assets/data/component-library/top-bar-type-1.liquid +200 -0
  132. package/assets/data/component-library/top-bar-type-10.liquid +395 -0
  133. package/assets/data/component-library/top-bar-type-11.liquid +395 -0
  134. package/assets/data/component-library/top-bar-type-2.liquid +106 -0
  135. package/assets/data/component-library/top-bar-type-3.liquid +205 -0
  136. package/assets/data/component-library/top-countdown-bar.liquid +116 -0
  137. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-image-gallery.liquid +783 -0
  138. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-pricing-table.liquid +1043 -0
  139. package/assets/data/component-library/trixe-solar-responsive-shopify-template-home-testimonial.liquid +1338 -0
  140. package/assets/data/component-library/video.liquid +511 -0
  141. package/assets/data/component-library/waffy-spices-dry-fruits-store-shopify-theme-v-1-1-contact-us.liquid +523 -0
  142. package/assets/data/design-tokens.csv +93 -57
  143. package/assets/data/schema-library.csv +48 -46
  144. package/assets/data/settings-profiles.csv +235 -0
  145. package/assets/data/shopify-best-practices.csv +58 -36
  146. package/assets/scripts/backfill-component-index.py +102 -0
  147. package/assets/scripts/core.py +30 -8
  148. package/assets/scripts/fix-schema-library.py +42 -0
  149. package/assets/scripts/kb-analyzer-helpers.py +136 -0
  150. package/assets/scripts/kb-analyzer.py +186 -0
  151. package/assets/scripts/kb-builder.py +32 -63
  152. package/assets/scripts/kb-constants.py +62 -0
  153. package/assets/scripts/kb-extractor-helpers.py +178 -0
  154. package/assets/scripts/kb-extractor.py +106 -170
  155. package/assets/scripts/kb-synthesizer.py +251 -0
  156. package/assets/scripts/quality-gate-checks.py +55 -0
  157. package/assets/scripts/quality-gate.py +56 -2
  158. package/assets/scripts/section-generator-helpers.py +74 -0
  159. package/assets/scripts/section-generator.py +59 -49
  160. package/assets/templates/generation-prompt.md +78 -14
  161. package/package.json +1 -1
@@ -0,0 +1,1462 @@
1
+ {% assign margin = section.settings.margin | split: ',' %}
2
+ {% assign margin_top = margin[0] %}
3
+ {% assign margin_bottom = margin[1] %}
4
+ {% assign padding = section.settings.padding | split: ',' %}
5
+ {% assign padding_top = padding[0] %}
6
+ {% assign padding_bottom = padding[1] %}
7
+
8
+ {% case section.settings.grid %}
9
+ {% when '1' %}
10
+ {% when '2' %}
11
+ {%- assign column = 'two-column' -%}
12
+ {% when '3' %}
13
+ {%- assign column = 'three-column' -%}
14
+ {% when '4' %}
15
+ {%- assign column = 'four-column' -%}
16
+ {% when '5' %}
17
+ {%- assign column = 'five-column' -%}
18
+ {% when '6' %}
19
+ {%- assign column = 'six-column' -%}
20
+ {% else %}
21
+ {%- assign column = 'three-column' -%}
22
+ {% endcase %}
23
+
24
+ {% if section.settings.block_banner_style == 'grid-style' %}
25
+ {% assign item_style = 'grid-style' %}
26
+ {% elsif section.settings.block_banner_style == 'list-style' %}
27
+ {% assign verticalStyle = section.settings.vertical_position %}
28
+ {% assign item_style = 'list-style' %}
29
+ {% elsif section.settings.block_banner_style == 'overlay-style' %}
30
+ {% assign verticalStyle = section.settings.vertical_position %}
31
+ {% assign item_style = 'overlay-style' %}
32
+ {% endif %}
33
+
34
+ {% if section.settings.enable_overlay %}
35
+ {% assign section_overlay = 'dt-sc-overlay' %}
36
+ {% endif %}
37
+
38
+ {% assign listWidth = section.settings.content_width | split: '/' %}
39
+ {%- assign leftColumn = listWidth[0] -%}
40
+ {%- assign rightColumn = listWidth[1] -%}
41
+
42
+ {% assign listWidth = section.settings.masonry_content_width | split: '/' %}
43
+ {% assign masonryleftColumn = listWidth[0] %}
44
+ {% assign masonryrightColumn = listWidth[1] %}
45
+
46
+ {% assign listWidth = section.settings.lap_content_width | split: '/' %}
47
+ {% assign lap_leftColumn = listWidth[0] %}
48
+ {% assign lap_rightColumn = listWidth[1] %}
49
+
50
+ {% assign listWidth = section.settings.lap_masonry_content_width | split: '/' %}
51
+ {% assign lap_masonryleftColumn = listWidth[0] %}
52
+ {% assign lap_masonryrightColumn = listWidth[1] %}
53
+
54
+ {% if section.settings.overlay_style == 'use_overlay' %}
55
+ {% assign overlay_class = 'with-overlay-normal' %}
56
+ {% elsif section.settings.overlay_style == 'use_gradient_overlay' %}
57
+ {% assign overlay_class = 'with-overlay-gradient' %}
58
+ {% endif %}
59
+
60
+ {%- assign blog = blogs[section.settings.blog] -%}
61
+ {% if section.settings.show_background_image %}
62
+ {% assign lazyScript = "lazyload" %}
63
+ {% endif %}
64
+ <div data-section-id="{{ section.id }}" data-section-type="featured-blog-section"
65
+ data-item-per-view="{{ section.settings.items_per_view }}"
66
+ data-laptop-screen-items="{{section.settings.items_laptop_view}}"
67
+ data-tablet-screen-items ="{{section.settings.items_tablet_view}}"
68
+ data-small-screen-items="{{section.settings.items_mobile_view}}"
69
+ data-autoplay="{{section.settings.slider_autoplay}}" data-small-screen-items="1" data-blocks-limit="{{section.blocks.size}}" data-item-space="{{section.settings.column_gap}}" data-auto-height="{{section.settings.enable_auto_height}}">
70
+ <div class="dt-sc-section-wrapper {{lazyScript}} {{ section_overlay }} {% if section.settings.background_style == 'parallax' %} parallax-initiated{% endif %}" {% if section.settings.background_style == 'parallax' %} data-speed="2" data-style="parallax"{% endif %} style="{% render 'bg-color-image-padding' %} background-size: {{- section.settings.background_size -}}; {% if section.settings.background_style == 'fixed' %}background-attachment: fixed;{% endif %} background-repeat:{% if section.settings.background_size == 'repeat' %}repeat{% else %}no-repeat;{% endif %}" {% include 'bg_image' %}>
71
+ <div class="{% render 'container-settings' %}">
72
+ <div class="row {{ section.settings.custom_class_name }}">
73
+ {% render 'section-heading', class: section.id %}
74
+ {% unless blog.articles_count == 0 %}
75
+ {% if section.settings.enable_masonry_grid %}
76
+ <div class="dt-sc-blog-section dt-sc-masonry-blog {% if section.settings.enable_masonry_reverse %}dt-sc-reverse-columns{% endif %} {% if section.settings.split_blog_layout %} style-2 {% endif %} {% if section.settings.enable_slider %}swiper-wrapper{% endif %} {% unless section.settings.enable_slider %}dt-sc-column{% endunless %}{% unless section.settings.enable_slider %} {{column}}{% endunless %}">
77
+ <div class="dt-sc-main-blog">
78
+ {% for article in blogs[section.settings.blog].articles limit: 1 %}
79
+ <div class="dt-sc-blog-item {{section.settings.text_position}} {{section.settings.main_banner_style}} {{section.settings.vertical_position}}"
80
+ {% if section.settings.main_banner_style == 'overlay-style' %}style="min-height:{{ section.settings.overlay_style_height}}px"{% endif %}>
81
+ <div class="dt-sc-blog-image {{ overlay_class}}">
82
+ {% if article.image %}
83
+ <div class="article__grid-image-wrapper wow animated fadeInDown">
84
+ <a href="{{article.url}}">
85
+ {%- assign img_url = article.image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
86
+ <img class="lazyload"
87
+ data-src="{{ img_url }}"
88
+ data-widths="[180, 360, 470, 600, 770, 970, 1060, 1280, 1512, 1728, 2048]"
89
+ data-aspectratio="{{ section.settings.block_image.aspect_ratio }}"
90
+ data-sizes="auto"
91
+ alt="{{ article.image.alt | escape }}">
92
+ <noscript>
93
+ {{ article.image | img_url: '480x480', scale: 2 | img_tag: article.image.alt, 'dt-sc-noscript-image' }}
94
+ </noscript>
95
+ </a>
96
+ </div>
97
+ {% endif %}
98
+ </div>
99
+ <div class="dt-sc-blog-content">
100
+ <h3 class="dt-sc-blog-title wow animated fadeInDown"><a href="{{article.url}}"> {{ article.title }}</a></h3>
101
+ <div class="dt-sc-blog-meta {% if section.settings.enable_blog_icons %}with-meta-icons{% endif %} wow animated fadeInDown">
102
+ {% if section.settings.blog_show_author %}
103
+ <p class="dt-sc-blog-author">
104
+ {% if section.settings.enable_blog_icons %}<span class="fa fa-user"></span>
105
+ {% else %}
106
+ {% include 'icon-author' %}
107
+ {% endif %}
108
+ <span>{{ 'blogs.article.by_author' | t: author: article.author }}</span></p>
109
+ {% endif %}
110
+ {% if section.settings.blog_show_date %}
111
+ <p class="dt-sc-blog-date">
112
+ {% if section.settings.enable_blog_icons %}
113
+ <span class="fa fa-calendar"></span>
114
+ {% else %}
115
+ {% include 'icon-date' %}
116
+ {% endif %}
117
+ {{ article.published_at | time_tag: format: 'date' }}
118
+ </p>
119
+ {% endif %}
120
+ {% if section.settings.blog_comments %}
121
+ {% if blog.comments_enabled? and article.comments_count > 0 %}
122
+ <p class="dt-sc-blog-comment">
123
+ {% include 'icon-comment' %} {{ 'blogs.comments.comments_with_count' | t: count: article.comments_count }}
124
+ {% endif %}
125
+ {% endif %}
126
+ {% if section.settings.blog_show_tag %}
127
+ {% if article.tags.size > 0 %}
128
+ <p class="dt-sc-blog-tags">
129
+ {% if section.settings.enable_blog_icons %}
130
+ <span class="fa fa-tags"></span>
131
+ {% else %}
132
+ {% include 'icon-tag' %}
133
+ {% endif %}
134
+ {% for tag in article.tags %}
135
+ <a href="{{ blog.url }}/tagged/{{ tag | handle }}" class="article__grid-tag">{{ tag }}</a>
136
+ {% endfor %}
137
+ </p>
138
+ {% endif %}
139
+ {% endif %}
140
+ </div>
141
+
142
+ {% if section.settings.blog_show_description %}
143
+ <div class="dt-sc-blog-description wow animated fadeInDown">
144
+ {%- if article.excerpt.size > 0 -%}
145
+ {{ article.excerpt | strip_html | truncatewords: 10 }}
146
+ {%- else -%}
147
+ {{ article.content | strip_html | truncatewords: 10 }}
148
+ {%- endif -%}
149
+ </div>
150
+ {% endif %}
151
+ {% if section.settings.blog_show_button %}
152
+ <a href="{{ article.url }}" class="dt-sc-btn wow animated fadeInDown"> {{ 'blogs.article.read_more' | t }}</a>
153
+ {% endif %}
154
+ </div>
155
+ </div>
156
+ {% endfor %}
157
+ </div>
158
+ <div class="dt-sc-additional-blogs">
159
+ {% for article in blogs[section.settings.blog].articles limit: section.settings.post_limit offset: 1 %}
160
+ <div class="dt-sc-blog-item {{section.settings.text_position}} {{section.settings.additional_banner_style}} {{section.settings.vertical_position}}"
161
+ {% if section.settings.additional_banner_style == 'overlay-style' %}style="min-height:{{ section.settings.overlay_style_height}}px"{% endif %}>
162
+ <div class="dt-sc-blog-image {{ overlay_class}}">
163
+ {% if article.image %}
164
+ <div class="article__grid-image-wrapper wow animated fadeInDown">
165
+ {%- assign img_url = article.image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
166
+ <img class="lazyload"
167
+ data-src="{{ img_url }}"
168
+ data-widths="[180, 360, 470, 600, 770, 970, 1060, 1280, 1512, 1728, 2048]"
169
+ data-aspectratio="{{ section.settings.block_image.aspect_ratio }}"
170
+ data-sizes="auto"
171
+ alt="{{ article.title }}">
172
+ <noscript>
173
+ {{ article.image | img_url: '480x480', scale: 2 | img_tag: article.image.alt, 'dt-sc-noscript-image' }}
174
+ </noscript>
175
+ </div>
176
+ {% endif %}
177
+ </div>
178
+ <div class="dt-sc-blog-content">
179
+ <h3 class="dt-sc-blog-title wow animated fadeInDown"><a href="{{article.url}}"> {{ article.title }}</a></h3>
180
+ <div class="dt-sc-blog-meta {% if section.settings.enable_blog_icons %}with-meta-icons{% endif %} wow animated fadeInDown">
181
+ {% if section.settings.blog_show_author %}
182
+ <p class="dt-sc-blog-author">
183
+ {% if section.settings.enable_blog_icons %}<span class="fa fa-user"></span>
184
+ {% else %}
185
+ {% include 'icon-author' %}
186
+ {% endif %}
187
+ <span>{{ 'blogs.article.by_author' | t: author: article.author }}</span></p>
188
+ {% endif %}
189
+ {% if section.settings.blog_show_date %}
190
+ <p class="dt-sc-blog-date">
191
+ {% if section.settings.enable_blog_icons %}
192
+ <span class="fa fa-calendar"></span>
193
+ {% else %}
194
+ {% include 'icon-date' %}
195
+ {% endif %}
196
+ {{ article.published_at | time_tag: format: 'date' }}
197
+ </p>
198
+ {% endif %}
199
+ {% if section.settings.blog_comments %}
200
+ {% if blog.comments_enabled? and article.comments_count > 0 %}
201
+ <p class="dt-sc-blog-comment">
202
+ {% include 'icon-comment' %} {{ 'blogs.comments.comments_with_count' | t: count: article.comments_count }}
203
+ {% endif %}
204
+ {% endif %}
205
+ {% if section.settings.blog_show_tag %}
206
+ {% if article.tags.size > 0 %}
207
+ <p class="dt-sc-blog-tags">
208
+ {% if section.settings.enable_blog_icons %}
209
+ <span class="fa fa-tags"></span>
210
+ {% else %}
211
+ {% include 'icon-tag' %}
212
+ {% endif %}
213
+ {% for tag in article.tags %}
214
+ <a href="{{ blog.url }}/tagged/{{ tag | handle }}" class="article__grid-tag">{{ tag }}</a>
215
+ {% endfor %}
216
+ </p>
217
+ {% endif %}
218
+ {% endif %}
219
+ </div>
220
+
221
+ {% if section.settings.blog_show_description %}
222
+ <div class="dt-sc-blog-description wow animated fadeInDown">
223
+ {% if article.excerpt.size > 0 %}
224
+ {{ article.excerpt }}
225
+ {% else %}
226
+ {{ article.content | strip_html | truncate: 35 }}
227
+ {% endif %}
228
+ </div>
229
+ {% endif %}
230
+ {% if section.settings.blog_show_button %}
231
+ <a href="{{ article.url }}" class="dt-sc-btn wow animated fadeInDown"> {{ 'blogs.article.read_more' | t }}</a>
232
+ {% endif %}
233
+ </div>
234
+ </div>
235
+ {% endfor %}
236
+ </div>
237
+ </div>
238
+ {% else %}
239
+ {% if section.settings.enable_slider %} <div class="dt-sc-swiper-slider swiper-container {% if section.settings.dots %} {{ section.settings.carousel_pagination_alignment }} {% endif %} {% if section.settings.arrows %} {{ section.settings.nav_arrow_position }} {{ section.settings.center_nav_arrow_alignment }} {% endif %}"> {% endif %}
240
+ {% if section.settings.enable_slider %} <div id="swiper-{{section.id}}-slider"> {% endif %}
241
+ <div class="dt-sc-blog-section {% if section.settings.split_blog_layout %} style-2 {% endif %} {% if section.settings.enable_slider %}swiper-wrapper{% endif %} {% unless section.settings.enable_slider %}dt-sc-column{% endunless %}{% unless section.settings.enable_slider %} {{column}}{% endunless %}">
242
+ {% for article in blogs[section.settings.blog].articles limit: section.settings.post_limit %}
243
+ <div class="dt-sc-blog-item {% if section.settings.enable_slider %}swiper-slide{% endif %} {{section.settings.text_position}} {{item_style}} {{section.settings.vertical_position}}"
244
+ {% if section.settings.block_banner_style == 'overlay-style' %}style="min-height:{{ section.settings.overlay_style_height}}px"{% endif %}>
245
+
246
+ <div class="dt-sc-blog-meta {% if section.settings.enable_blog_icons %}with-meta-icons{% endif %} wow animated fadeInDown">
247
+
248
+ <!-- {% if section.settings.blog_show_date %}
249
+ <p class="dt-sc-blog-date">
250
+ {% if section.settings.enable_blog_icons %}
251
+ <span class="fa fa-calendar"></span>
252
+ {% else %}
253
+ {% include 'icon-date' %}
254
+ {% endif %}
255
+ {{ article.published_at | time_tag: format: 'date' }}
256
+ </p>
257
+ {% endif %} -->
258
+ {% if section.settings.blog_show_date %}
259
+ <p class="dt-sc-blog-date">
260
+ {% if section.settings.enable_blog_icons %}
261
+ <!-- <span class="fa fa-calendar"></span> -->
262
+ {% else %}
263
+ <!-- {% include 'icon-date' %} -->
264
+ {% endif %}
265
+ <strong>{{ article.published_at | date: '%d' }}</strong> {{ article.published_at | date: '%b' }} {{ article.published_at | date: '%Y' }}
266
+ </p>
267
+ {% endif %}
268
+
269
+ {% if section.settings.blog_show_author %}
270
+ <p class="dt-sc-blog-author">
271
+ <!-- {% if section.settings.enable_blog_icons %}<span class="fa fa-user"></span> -->
272
+ {% else %}
273
+ <!-- {% include 'icon-author' %} -->
274
+ {% endif %}
275
+ <span>{{ 'blogs.article.by_author' | t: author: article.author }}</span></p>
276
+ {% endif %}
277
+
278
+ {% if section.settings.blog_comments %}
279
+ {% if blog.comments_enabled? and article.comments_count > 0 %}
280
+ <p class="dt-sc-blog-comment">
281
+ {% include 'icon-comment' %} {{ 'blogs.comments.comments_with_count' | t: count: article.comments_count }}
282
+ {% endif %}
283
+ {% endif %}
284
+ {% if section.settings.blog_show_tag %}
285
+ {% if article.tags.size > 0 %}
286
+ <p class="dt-sc-blog-tags">
287
+ {% if section.settings.enable_blog_icons %}
288
+ <span class="fa fa-tags"></span>
289
+ {% else %}
290
+ {% include 'icon-tag' %}
291
+ {% endif %}
292
+ {% for tag in article.tags %}
293
+ <a href="{{ blog.url }}/tagged/{{ tag | handle }}" class="article__grid-tag">{{ tag }}</a>
294
+ {% endfor %}
295
+ </p>
296
+ {% endif %}
297
+ {% endif %}
298
+ </div>
299
+
300
+ <div class="dt-sc-blog-image {{ overlay_class}}">
301
+ {% if article.image %}
302
+ <div class="article__grid-image-wrapper wow animated fadeInDown">
303
+ {{ article.image | img_url: 'master' | img_tag: article.title, 'article__grid-image' }}
304
+ </div>
305
+ {% endif %}
306
+ </div>
307
+ <div class="dt-sc-blog-content">
308
+ <h3 class="dt-sc-blog-title wow animated fadeInDown"><a href="{{article.url}}"> {{ article.title }}</a></h3>
309
+
310
+
311
+ {% if section.settings.blog_show_description %}
312
+ <div class="dt-sc-blog-description wow animated fadeInDown">
313
+ {% if article.excerpt.size > 0 %}
314
+ {{ article.excerpt }}
315
+ {% else %}
316
+ {{ article.content | strip_html | truncate: 20 }}
317
+ {% endif %}
318
+ </div>
319
+ {% endif %}
320
+ {% if section.settings.blog_show_button %}
321
+ <a href="{{ article.url }}" class="dt-sc-btn wow animated fadeInDown"> {{ 'blogs.article.read_more' | t }}</a>
322
+ {% endif %}
323
+ </div>
324
+ </div>
325
+ {% endfor %}
326
+ </div>
327
+ {% if section.settings.enable_slider %} </div>{% endif %}
328
+ {% if section.settings.enable_slider %}
329
+ {% if section.settings.arrows %}
330
+ <div class="swiper-{{ section.id}}-arrows swiper-arrows">
331
+ <div id="swiper-{{ section.id}}-next" class="swiper-button-next dt-sc-btn"></div>
332
+ <div id="swiper-{{ section.id}}-prev" class="swiper-button-prev dt-sc-btn"></div>
333
+ </div>
334
+ {% endif %}
335
+ {% if section.settings.dots %}
336
+ <div id="swiper-{{ section.id}}-pagination" class="swiper-pagination"></div>
337
+ {% endif %}
338
+ {% endif %}
339
+ {% if section.settings.enable_slider %} </div>{% endif %}
340
+ {% endif %}
341
+ {% endunless %}
342
+ </div>
343
+ </div>
344
+ </div>
345
+ </div>
346
+
347
+ <style>
348
+
349
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-heading .dt-sc-main-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_heading_color }}; }
350
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-heading .dt-sc-sub-heading { color: var(--DTColor_Heading); color:{{ section.settings.section_sub_heading_color }}; }
351
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-heading .dt-sc-heading-description { color: var(--DTColor_Body); color:{{ section.settings.section_description_color }}; }
352
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-heading .dt-sc-btn {
353
+ background: var(--DT_Button_BG_Color); background:{{ section.settings.section_button_bg_color }};
354
+ color: var(--DT_Button_Text_Color); color:{{ section.settings.section_button_text_color }}; }
355
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-heading .dt-sc-btn:hover {
356
+ background: var(--DT_Button_BG_Hover_Color); background:{{ section.settings.section_button_hover_bg_color }};
357
+ color: var(--DT_Button_Text_Hover_Color); color:{{ section.settings.section_button_hover_text_color }}; }
358
+
359
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-overlay:before {
360
+ color: var(--DTTertiaryColor);
361
+ color: {{ section.settings.background_color }};
362
+ background: currentcolor;
363
+ opacity: {{ section.settings.overlay_transparency }}; }
364
+
365
+
366
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-image[class*="with-overlay-normal"]:before {
367
+ color: var(--DTTertiaryColor);
368
+ color: {{ section.settings.overlay_color }};
369
+ background: currentcolor;
370
+ border-radius: var(--DT_Blog_Border_Radius); }
371
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-image[class*="with-overlay-gradient"]:before {
372
+
373
+ background-image: linear-gradient({{ section.settings.rotation_degree}}deg, {{ settings.tertiary_color | color_modify: 'alpha', 0 }},
374
+ {{ settings.tertiary_color }});
375
+
376
+ background-image: linear-gradient({{ section.settings.rotation_degree}}deg, {{ section.settings.overlay_color | color_modify: 'alpha', 0 }},
377
+ {{ section.settings.overlay_color }}); border-radius: var(--DT_Blog_Border_Radius);
378
+
379
+ }
380
+
381
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item:hover .dt-sc-blog-image[class*="with-overlay-normal"]:before,
382
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item:hover .dt-sc-blog-image[class*="with-overlay-gradient"]:before { opacity: {{ section.settings.overlay_opacity }}; }
383
+
384
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta.with-meta-icons p[class*="dt-sc-blog-"] svg,
385
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-item.with-meta-icons .dt-sc-blog-content .dt-sc-blog-meta p[class*="dt-sc-blog-"] svg { display: none; }
386
+
387
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item { {% if section.settings.enable_box_shadow %} box-shadow: var(--DTboxShadow); {% endif %} }
388
+
389
+
390
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-content a:not(dt-sc-btn) {
391
+ color: var(--DT_Blog_Link_Color); color: {{section.settings.blog_link_color}}; }
392
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-content a:not(dt-sc-btn):hover {
393
+ color: var(--DT_Blog_Link_Hover_Color); color: {{section.settings.blog_link_hover_color}}; }
394
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-content .dt-sc-blog-description,
395
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-content .dt-sc-blog-meta *:not(svg) {
396
+ color: var(--DT_Blog_Text_Color); color: {{section.settings.blog_text_color}}; }
397
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-content .dt-sc-blog-meta p svg {
398
+ fill: var(--DT_Blog_Icon_Color); fill: {{section.settings.blog_icon_color}}; }
399
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-content .dt-sc-blog-meta p i {
400
+ color: var(--DT_Blog_Icon_Color); color: {{section.settings.blog_icon_color}}; }
401
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-content a.dt-sc-btn {
402
+ background-color: var(--DT_Blog_Button_BG_Color); color: var(--DT_Blog_Button_Text_Color);
403
+ background-color: {{section.settings.blog_button_bg_color}}; color: {{section.settings.blog_button_text_color}};
404
+
405
+ }
406
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-content a.dt-sc-btn:hover {
407
+ background-color: var(--DT_Blog_Button_BG_Hover_Color); color: var(--DT_Blog_Button_Text_Hover_Color);
408
+ background-color: {{section.settings.blog_button_bg_hover_color}}; color: {{section.settings.blog_button_text_hover_color}};
409
+ }
410
+
411
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.overlay-style .dt-sc-blog-content a:not(dt-sc-btn) {
412
+ color: var(--DT_Blog_Link_Color_Overlay); color: {{section.settings.blog_link_color_overlay}}; }
413
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.overlay-style .dt-sc-blog-content a:not(dt-sc-btn):hover {
414
+ color: var(--DT_Blog_Link_Hover_Color_Overlay); color: {{section.settings.blog_link_hover_color_overlay}}; }
415
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.overlay-style .dt-sc-blog-content .dt-sc-blog-description,
416
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.overlay-style .dt-sc-blog-content .dt-sc-blog-meta *:not(svg) {
417
+ color: var(--DT_Blog_Text_Color_overlay); color: {{section.settings.blog_text_color_overlay}}; }
418
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.overlay-style .dt-sc-blog-content .dt-sc-blog-meta p svg {
419
+ fill: var(--DT_Blog_Icon_Color_overlay); fill: {{section.settings.blog_icon_color_overlay}}; }
420
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.overlay-style .dt-sc-blog-content .dt-sc-blog-meta p i {
421
+ color: var(--DT_Blog_Icon_Color_overlay); color: {{section.settings.blog_link_color}}; }
422
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.overlay-style .dt-sc-blog-content a.dt-sc-btn {
423
+ background-color: var(--DT_Blog_Button_BG_Color_overlay); color: var(--DT_Blog_Button_Text_Color_overlay);
424
+ background-color: {{section.settings.blog_button_bg_color_overlay}}; color: {{section.settings.blog_button_text_color_overlay}}; }
425
+ }
426
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.overlay-style .dt-sc-blog-content a.dt-sc-btn:hover {
427
+ background-color: var(--DT_Blog_Button_BG_Hover_Color_overlay); color: var(--DT_Blog_Button_Text_Hover_Color_overlay);
428
+ background-color: {{section.settings.blog_button_bg_hover_color_overlay}}; color: {{section.settings.blog_button_text_hover_color_overlay}};
429
+ }
430
+
431
+
432
+
433
+ {% if section.settings.enable_box_shadow %}
434
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style { box-shadow: none; overflow: visible; }
435
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style .dt-sc-blog-content { box-shadow: var(--DTboxShadow); }
436
+ {% endif %}
437
+
438
+ {% if section.settings.split_blog_layout %}
439
+
440
+ {% if section.settings.enable_box_shadow %}
441
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.grid-style { box-shadow: none; overflow: visible; }
442
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.grid-style > * { box-shadow: var(--DTboxShadow); border-radius: var(--DT_Blog_Border_Radius); }
443
+ {% endif %}
444
+
445
+ {% endif %}
446
+
447
+ {% unless section.settings.split_blog_layout %}
448
+
449
+ {% if section.settings.enable_box_shadow %}
450
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style { box-shadow: var(--DTboxShadow); overflow: hidden; }
451
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style .dt-sc-blog-content { box-shadow: none; }
452
+ {% endif %}
453
+
454
+ {% endunless %}
455
+
456
+ #shopify-section-{{section.id}} .dt-sc-blog-section.style-2 .dt-sc-blog-item.grid-style .dt-sc-blog-content {
457
+ margin-top: {{ section.settings.split_gap}}px;
458
+ background: {{ section.settings.blog_bg_color }};
459
+ }
460
+
461
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-swiper-slider.swiper-container .swiper-arrows .dt-sc-btn {
462
+ background: var(--DT_Button_BG_Color);
463
+ background: {{ section.settings.navigation_button_color }};
464
+ }
465
+
466
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-swiper-slider.swiper-container .swiper-arrows .dt-sc-btn[class*="swiper-button-"]:after {
467
+ color: var(--DT_Button_Text_Color);
468
+ color: {{ section.settings.navigation_button_icon_color }};
469
+ }
470
+
471
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-swiper-slider.swiper-container .swiper-arrows .dt-sc-btn:hover {
472
+ background: var(--DT_Button_BG_Hover_Color);
473
+ background: {{ section.settings.navigation_button_hover_color }};
474
+ }
475
+
476
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-swiper-slider.swiper-container .swiper-arrows .dt-sc-btn:hover[class*="swiper-button-"]:after {
477
+ color: var(--DT_Button_Text_Hover_Color);
478
+ color: {{ section.settings.navigation_button_hover_icon_color }};
479
+ }
480
+
481
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-swiper-slider.swiper-container .swiper-pagination-bullet {
482
+ background: var(--DTSecondaryColor);
483
+ background: {{ section.settings.navigation_dot_color }};
484
+
485
+ }
486
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-swiper-slider.swiper-container .swiper-pagination-bullet.swiper-pagination-bullet-active {
487
+ background: var(--DTPrimaryColor);
488
+ background: {{ section.settings.navigation_dot_active_color }};
489
+ }
490
+
491
+ .dt-sc-swiper-slider.swiper-container .swiper-slide.dt-sc-blog-item.list-style { display: flex; flex-wrap: wrap; }
492
+
493
+
494
+ @media (min-width: 1541px) {
495
+
496
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog .dt-sc-main-blog {
497
+ width: calc({{masonryleftColumn}}% - (calc({{settings.blog_gutter_width}}px)/2));
498
+ }
499
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog .dt-sc-additional-blogs {
500
+ width: calc({{masonryrightColumn}}% - (calc({{settings.blog_gutter_width}}px)/2));
501
+ }
502
+
503
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style > .dt-sc-blog-image { width: {{leftColumn}}%; }
504
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style > .dt-sc-blog-content { width: {{rightColumn}}%; }
505
+
506
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.style-2 .dt-sc-blog-item.list-style > .dt-sc-blog-image {
507
+ width: calc({{leftColumn}}% - (calc({{section.settings.split_gap}}px)/2));
508
+ }
509
+
510
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.style-2 .dt-sc-blog-item.list-style > .dt-sc-blog-content {
511
+ width: calc({{rightColumn}}% - (calc({{section.settings.split_gap}}px)/2));
512
+ }
513
+
514
+ }
515
+
516
+ @media (max-width: 1540px) {
517
+
518
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog .dt-sc-main-blog {
519
+ width: calc({{lap_masonryleftColumn}}% - (calc({{ settings.blog_gutter_width}}px)/2));
520
+ }
521
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog .dt-sc-additional-blogs {
522
+ width: calc({{lap_masonryrightColumn}}% - (calc({{ settings.blog_gutter_width}}px)/2));
523
+ }
524
+
525
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style > .dt-sc-blog-image { width: {{lap_leftColumn}}%; }
526
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style > .dt-sc-blog-content { width: {{lap_rightColumn}}% }
527
+
528
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.style-2 .dt-sc-blog-item.list-style > .dt-sc-blog-image {
529
+ width: calc({{lap_leftColumn}}% - (calc({{section.settings.split_gap}}px)/2));
530
+ }
531
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.style-2 .dt-sc-blog-item.list-style > .dt-sc-blog-content {
532
+ width: calc({{lap_rightColumn}}% - (calc({{section.settings.split_gap}}px)/2));
533
+ }
534
+
535
+ }
536
+
537
+ @media only screen and (min-width: 1200px) {
538
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-section-wrapper { margin-top:{{margin_top}}px; margin-bottom:{{margin_bottom}}px;padding-top:{{padding_top}}px; padding-bottom:{{padding_bottom}}px; }
539
+ }
540
+
541
+ @media only screen and (max-width: 1199px) {
542
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-section-wrapper {
543
+ margin-top:{{margin_top | divided_by: 2}}px; margin-bottom:{{margin_bottom}}px;padding-top:{{padding_top | divided_by: 2}}px; padding-bottom:{{padding_bottom | divided_by: 2}}px; }
544
+
545
+
546
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog { flex-wrap: wrap; }
547
+
548
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog .dt-sc-main-blog { margin-bottom: var(--DT_Blog_Gutter_Width); }
549
+
550
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog .dt-sc-main-blog,
551
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog .dt-sc-additional-blogs {
552
+ width: 100%;
553
+ }
554
+
555
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.style-2 .dt-sc-blog-item.list-style > .dt-sc-blog-image,
556
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.style-2 .dt-sc-blog-item.list-style > .dt-sc-blog-content {
557
+ width: 100%;
558
+ }
559
+
560
+ }
561
+
562
+ @media (max-width: 767px) {
563
+
564
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style { flex-wrap: wrap; }
565
+
566
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.style-2 .dt-sc-blog-item.list-style > .dt-sc-blog-image,
567
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog.style-2 .dt-sc-blog-item.list-style > .dt-sc-blog-image {
568
+ margin-bottom: {{ section.settings.split_gap}}px;
569
+ }
570
+
571
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style > .dt-sc-blog-image,
572
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.list-style > .dt-sc-blog-content,
573
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog .dt-sc-blog-item.list-style > .dt-sc-blog-image,
574
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section.dt-sc-masonry-blog .dt-sc-blog-item.list-style > .dt-sc-blog-content {
575
+ width: 100%;
576
+ }
577
+
578
+ }
579
+
580
+ /*custom*/
581
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item.text-start .dt-sc-blog-content{padding:30px 0 40px;}
582
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item{position:relative; overflow:hidden; padding:0 115px}
583
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta {width:auto; position:absolute; left:15px; z-index:1;}
584
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p{background:#fff; padding:8.1px 15px; color:#cf571c; text-align:center; position:relative;}
585
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p:before{
586
+
587
+ content: "";
588
+ border-style: solid;
589
+ border-width: 5px 8px 0px 0px;
590
+ width: 0;
591
+ height: 0;
592
+ line-height: 0;
593
+ font-size: 0px;
594
+ position: absolute;
595
+ right: 0px;
596
+ bottom: -5px;
597
+ border-color: #ffffff transparent transparent;
598
+
599
+ }
600
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p:after{
601
+
602
+ content:" ";
603
+ position:absolute;
604
+ background-image:url({{ section.settings.meta_image | img_url: 'master' }});
605
+ background-repeat:no-repeat;
606
+ background-size:cover;
607
+ width:15px; height:40px;
608
+ left:-15px;
609
+ display:inline-block;
610
+ top:0
611
+ }
612
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p.dt-sc-blog-author{width:90px; margin-left:auto;}
613
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p.dt-sc-blog-comment{width:65px; margin-left:auto;}
614
+ .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-image[class*="with-overlay"]{z-index:-1;}
615
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-section-wrapper{z-index:auto; background-position:top !important;}
616
+
617
+
618
+
619
+
620
+ @media screen and (max-width:1540px){
621
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item{padding:0 0 0 144px;}
622
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta{left:42px;}
623
+ }
624
+
625
+ @media screen and (max-width:1040px){
626
+
627
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item{padding:0 0 0 110px;}
628
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta{left:10px;}
629
+
630
+ }
631
+
632
+
633
+ @media screen and (max-width:767px){
634
+
635
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p{font-size:11px; margin-bottom:5px; padding:2px 2px;}
636
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p.dt-sc-blog-comment svg{width:15px; height:15px;}
637
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p:after{width:10px; height:28px; left:-8px;}
638
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item{padding: 0 0 0 90px;}
639
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta{left:10px }
640
+ }
641
+ @media screen and (max-width:390px){
642
+
643
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item{padding:0;}
644
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta{left:auto; right:0;}
645
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p.dt-sc-blog-comment{width:55px;}
646
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p.dt-sc-blog-author{width:70px;}
647
+ #shopify-section-{{section.id}}.home-blog-section .dt-sc-blog-section .dt-sc-blog-item .dt-sc-blog-meta p.dt-sc-blog-date{width:90px;}
648
+ }
649
+
650
+
651
+
652
+ </style>
653
+ {% schema %}
654
+ {
655
+ "name": "Blog posts",
656
+ "class": "index-section home-blog-section",
657
+ "settings": [
658
+ {
659
+ "type": "checkbox",
660
+ "id": "full",
661
+ "label": "Show Full width"
662
+ },
663
+ {
664
+ "type": "checkbox",
665
+ "id": "spacing_both_ends",
666
+ "label": "Enable Right & Left Spacing (Works only on Fullwidth)",
667
+ "default": false
668
+ },
669
+ {
670
+ "type": "text",
671
+ "id": "padding",
672
+ "label": "Style value (Padding)",
673
+ "default":"0,0",
674
+ "info":"Top(px),Bottom(px)"
675
+ },
676
+ {
677
+ "type": "text",
678
+ "id": "margin",
679
+ "label": "Style value (Margin)",
680
+ "default":"0,0",
681
+ "info":"Top(px),Bottom(px)"
682
+ },
683
+ {
684
+ "type": "checkbox",
685
+ "id": "show_background_image",
686
+ "label": "Enable Background image"
687
+ },
688
+ {
689
+ "type": "image_picker",
690
+ "id": "background_image",
691
+ "label": "Background image",
692
+ "info": "Size: 1920x1280"
693
+ },
694
+ {
695
+ "type": "select",
696
+ "id": "background_style",
697
+ "label": "Background Style",
698
+ "default": "none",
699
+ "options": [
700
+ {
701
+ "value": "fixed",
702
+ "label": "Fixed"
703
+ },
704
+ {
705
+ "value": "parallax",
706
+ "label": "Parallax"
707
+ },
708
+ {
709
+ "value": "none",
710
+ "label": "None"
711
+ }
712
+ ]
713
+ },
714
+ {
715
+ "type": "select",
716
+ "id": "background_size",
717
+ "label": "Background Size",
718
+ "info": "This will not apply for parallax",
719
+ "default": "auto",
720
+ "options": [
721
+ {
722
+ "value": "auto",
723
+ "label": "Auto"
724
+ },
725
+ {
726
+ "value": "cover",
727
+ "label": "Cover"
728
+ },
729
+ {
730
+ "value": "contain",
731
+ "label": "Contain"
732
+ },
733
+ {
734
+ "value": "repeat",
735
+ "label": "Repeat"
736
+ }
737
+ ]
738
+ },
739
+ {
740
+ "type": "checkbox",
741
+ "id": "enable_overlay",
742
+ "label": "Enable Background Color (Used as Background Image Overlay Color too)"
743
+ },
744
+ {
745
+ "type": "color",
746
+ "id": "background_color",
747
+ "label":"Background color"
748
+ },
749
+ {
750
+ "type": "text",
751
+ "id": "overlay_transparency",
752
+ "label": "Overlay Transparency (0.01 to 1)",
753
+ "default": "0.5"
754
+ },
755
+ {
756
+ "type": "text",
757
+ "id": "section_heading",
758
+ "label": "Main Heading",
759
+ "default": "Blog Listing"
760
+ },
761
+ {
762
+ "type": "image_picker",
763
+ "id": "header_image",
764
+ "label": "header image",
765
+ "info": "Size:120x30"
766
+ },
767
+ {
768
+ "type": "text",
769
+ "id": "section_sub_heading",
770
+ "label": "Sub Heading",
771
+ "default": "Sub Heading"
772
+ },
773
+ {
774
+ "type": "text",
775
+ "id": "section_description",
776
+ "label": "Description",
777
+ "default": "Use this text to share the information which you like!."
778
+ },
779
+ {
780
+ "type": "text",
781
+ "id": "section_button_text",
782
+ "label": "Link text"
783
+ },
784
+ {
785
+ "type": "url",
786
+ "id": "section_button_link",
787
+ "label": "Link URL"
788
+ },
789
+ {
790
+ "type": "header",
791
+ "content": "Section Color settings"
792
+ },
793
+ {
794
+ "type": "color",
795
+ "id": "section_heading_color",
796
+ "label": "Heading color"
797
+ },
798
+ {
799
+ "type": "color",
800
+ "id": "section_sub_heading_color",
801
+ "label": "Sub heading color"
802
+ },
803
+ {
804
+ "type": "color",
805
+ "id": "section_description_color",
806
+ "label": "Description color"
807
+ },
808
+ {
809
+ "type": "color",
810
+ "id": "section_button_bg_color",
811
+ "label": "Button bg color"
812
+ },
813
+ {
814
+ "type": "color",
815
+ "id": "section_button_text_color",
816
+ "label": "Button text color"
817
+ },
818
+ {
819
+ "type": "color",
820
+ "id": "section_button_hover_bg_color",
821
+ "label": "Button hover bg color"
822
+ },
823
+ {
824
+ "type": "color",
825
+ "id": "section_button_hover_text_color",
826
+ "label": "Button hover text color"
827
+ },
828
+ {
829
+ "type": "select",
830
+ "id": "heading_position",
831
+ "label": "Heading Position",
832
+ "options": [
833
+ {
834
+ "value": "text-center",
835
+ "label": "Center"
836
+ },
837
+ {
838
+ "value": "text-start",
839
+ "label": "Left"
840
+ },
841
+ {
842
+ "value": "text-end",
843
+ "label": "Right"
844
+ }
845
+ ]
846
+ },
847
+ {
848
+ "type": "header",
849
+ "content": "Blog Settings"
850
+ },
851
+ {
852
+ "type": "blog",
853
+ "id": "blog",
854
+ "label": "Select blog"
855
+ },
856
+ {
857
+ "type": "checkbox",
858
+ "id": "blog_show_author",
859
+ "label": "Enable author name",
860
+ "default": true
861
+ },
862
+ {
863
+ "type": "checkbox",
864
+ "id": "blog_show_date",
865
+ "label": "Enable date",
866
+ "default": true
867
+ },
868
+ {
869
+ "type": "checkbox",
870
+ "id": "blog_comments",
871
+ "label": "Enable Comments",
872
+ "default": false
873
+ },
874
+ {
875
+ "type": "checkbox",
876
+ "id": "blog_show_tag",
877
+ "label": "Enable tag",
878
+ "default": false
879
+ },
880
+ {
881
+ "type": "checkbox",
882
+ "id": "blog_show_button",
883
+ "label": "Enable Blog Button",
884
+ "default": true
885
+ },
886
+ {
887
+ "type": "checkbox",
888
+ "id": "blog_show_description",
889
+ "label": "Enable Blog Description",
890
+ "default": true
891
+ },
892
+ {
893
+ "type": "checkbox",
894
+ "id": "enable_blog_icons",
895
+ "label": "Enable Font Awesome Icons for Meta Elements",
896
+ "default": false
897
+ },
898
+ {
899
+ "type": "select",
900
+ "id": "block_banner_style",
901
+ "label": "Banner Style (Not for Masonry Grid)",
902
+ "options": [
903
+ {
904
+ "value": "grid-style",
905
+ "label": "Grid"
906
+ },
907
+ {
908
+ "value": "list-style",
909
+ "label": "List"
910
+ },
911
+ {
912
+ "value": "overlay-style",
913
+ "label": "Overlay"
914
+ }
915
+ ]
916
+ },
917
+ {
918
+ "type": "range",
919
+ "id": "post_limit",
920
+ "label": "Total Number of Posts",
921
+ "min": 1,
922
+ "max": 6,
923
+ "step": 1,
924
+ "default": 2,
925
+ "info": "If you have enabled Masonry Grid Option below, this option will work only for Additional Banners"
926
+ },
927
+ {
928
+ "type": "select",
929
+ "id": "grid",
930
+ "label": "Item per row",
931
+ "info": "Select '1' for List Style",
932
+ "default": "2",
933
+ "options": [
934
+ {
935
+ "value": "1",
936
+ "label": "1"
937
+ },
938
+ {
939
+ "value": "2",
940
+ "label": "2"
941
+ },
942
+ {
943
+ "value": "3",
944
+ "label": "3"
945
+ },
946
+ {
947
+ "value": "4",
948
+ "label": "4"
949
+ },
950
+ {
951
+ "value": "5",
952
+ "label": "5"
953
+ }
954
+ ]
955
+ },
956
+ {
957
+ "type": "select",
958
+ "id": "text_position",
959
+ "label": "Blog Text alignment",
960
+ "options": [
961
+ {
962
+ "value": "text-center",
963
+ "label": "Center"
964
+ },
965
+ {
966
+ "value": "text-start",
967
+ "label": "Left"
968
+ },
969
+ {
970
+ "value": "text-end",
971
+ "label": "Right"
972
+ }
973
+ ]
974
+ },
975
+ {
976
+ "type": "checkbox",
977
+ "id": "enable_box_shadow",
978
+ "label": "Enable Box Shadow",
979
+ "default": false
980
+ },
981
+ {
982
+ "type": "header",
983
+ "content": "Settings for List Style Banners"
984
+ },
985
+ {
986
+ "type": "select",
987
+ "id": "vertical_position",
988
+ "label": "Vertical position",
989
+ "options": [
990
+ {
991
+ "value": "vertical-top",
992
+ "label": "Top"
993
+ },
994
+ {
995
+ "value": "vertical-center",
996
+ "label": "Center"
997
+ },
998
+ {
999
+ "value": "vertical-bottom",
1000
+ "label": "Bottom"
1001
+ }
1002
+ ],
1003
+ "default": "vertical-center"
1004
+ },
1005
+ {
1006
+ "type": "text",
1007
+ "id": "content_width",
1008
+ "label": "Content Width - Desktop",
1009
+ "default":"50/50"
1010
+ },
1011
+ {
1012
+ "type": "text",
1013
+ "id": "lap_content_width",
1014
+ "label": "Content Width - Laptop (Small Screen)",
1015
+ "default":"40/60"
1016
+ },
1017
+ {
1018
+ "type": "header",
1019
+ "content": "Settings for Overlay Style Banners"
1020
+ },
1021
+ {
1022
+ "type": "range",
1023
+ "id": "overlay_style_height",
1024
+ "label": "Minimum Height",
1025
+ "min": 200,
1026
+ "max": 1000,
1027
+ "step": 10,
1028
+ "default": 400,
1029
+ "unit": "px"
1030
+ },
1031
+ {
1032
+ "type": "header",
1033
+ "content": "Image Overlay Settings"
1034
+ },
1035
+ {
1036
+ "type": "select",
1037
+ "id": "overlay_style",
1038
+ "label": "Image Hover Style",
1039
+ "options": [
1040
+ {
1041
+ "value": "use_overlay",
1042
+ "label": "Normal Overlay"
1043
+ },
1044
+ {
1045
+ "value": "use_gradient_overlay",
1046
+ "label": "Gradient Overlay"
1047
+ }
1048
+ ]
1049
+ },
1050
+ {
1051
+ "type": "color",
1052
+ "id": "overlay_color",
1053
+ "label": "Overlay color"
1054
+ },
1055
+ {
1056
+ "type": "text",
1057
+ "id": "overlay_opacity",
1058
+ "label": "Overlay Opacity (0.01 to 1)",
1059
+ "default": "0.5"
1060
+ },
1061
+ {
1062
+ "type": "text",
1063
+ "id": "rotation_degree",
1064
+ "label": "Gradient Position (0 to 360) - Only for Gradient Overlay",
1065
+ "default": "180"
1066
+ },
1067
+ {
1068
+ "type": "header",
1069
+ "content": "Split Blog Settings"
1070
+ },
1071
+ {
1072
+ "type": "checkbox",
1073
+ "id": "split_blog_layout",
1074
+ "label": "Split Blog Layout",
1075
+ "default": false
1076
+ },
1077
+ {
1078
+ "type": "text",
1079
+ "id": "split_gap",
1080
+ "label": "Split Gap - Leave empty for Default Gap (unit's not needed)",
1081
+ "default":"30"
1082
+ },
1083
+ {
1084
+ "type": "header",
1085
+ "content": "Masonry Blog Settings"
1086
+ },
1087
+ {
1088
+ "type": "checkbox",
1089
+ "id": "enable_masonry_grid",
1090
+ "label": "Enable masonry grid (Carousel Option will not work if this is enabled)",
1091
+ "default": false
1092
+ },
1093
+ {
1094
+ "type": "select",
1095
+ "id": "main_banner_style",
1096
+ "label": "Main Banner Style",
1097
+ "default": "grid-style",
1098
+ "options": [
1099
+ {
1100
+ "value": "grid-style",
1101
+ "label": "Grid"
1102
+ },
1103
+ {
1104
+ "value": "overlay-style",
1105
+ "label": "Overlay"
1106
+ },
1107
+ {
1108
+ "value": "list-style",
1109
+ "label": "List"
1110
+ }
1111
+ ]
1112
+ },
1113
+ {
1114
+ "type": "select",
1115
+ "id": "additional_banner_style",
1116
+ "label": "Additional Banners Layout Style",
1117
+ "default": "list-style",
1118
+ "options": [
1119
+ {
1120
+ "value": "grid-style",
1121
+ "label": "Grid"
1122
+ },
1123
+ {
1124
+ "value": "overlay-style",
1125
+ "label": "Overlay"
1126
+ },
1127
+ {
1128
+ "value": "list-style",
1129
+ "label": "List"
1130
+ }
1131
+ ]
1132
+ },
1133
+ {
1134
+ "type": "checkbox",
1135
+ "id": "enable_masonry_reverse",
1136
+ "label": "Enable Masonry Reverse",
1137
+ "default": false
1138
+ },
1139
+ {
1140
+ "type": "header",
1141
+ "content": "Blog Color Settings"
1142
+ },
1143
+ {
1144
+ "type": "color",
1145
+ "id": "blog_bg_color",
1146
+ "label": "Blog Bg Color"
1147
+ },
1148
+ {
1149
+ "type": "color",
1150
+ "id": "blog_link_color",
1151
+ "label": "Link Color"
1152
+ },
1153
+ {
1154
+ "type": "color",
1155
+ "id": "blog_link_hover_color",
1156
+ "label": "Link Hover Color"
1157
+ },
1158
+ {
1159
+ "type": "color",
1160
+ "id": "blog_text_color",
1161
+ "label": "Text Color"
1162
+ },
1163
+ {
1164
+ "type": "color",
1165
+ "id": "blog_icon_color",
1166
+ "label": "Icon Color"
1167
+ },
1168
+ {
1169
+ "type": "color",
1170
+ "id": "blog_button_bg_color",
1171
+ "label": "Button BG Color"
1172
+ },
1173
+ {
1174
+ "type": "color",
1175
+ "id": "blog_button_text_color",
1176
+ "label": "Button Text Color"
1177
+ },
1178
+ {
1179
+ "type": "color",
1180
+ "id": "blog_button_bg_hover_color",
1181
+ "label": "Button Hover BG Color"
1182
+ },
1183
+ {
1184
+ "type": "color",
1185
+ "id": "blog_button_text_hover_color",
1186
+ "label": "Button Hover Text Color",
1187
+ "info": "================"
1188
+ },
1189
+ {
1190
+ "type": "color",
1191
+ "id": "blog_link_color_overlay",
1192
+ "label": "Link Color (Overlay Style Only)"
1193
+ },
1194
+ {
1195
+ "type": "color",
1196
+ "id": "blog_link_hover_color_overlay",
1197
+ "label": "Link Hover Color (Overlay Style Only)"
1198
+ },
1199
+ {
1200
+ "type": "color",
1201
+ "id": "blog_text_color_overlay",
1202
+ "label": "Text Color (Overlay Style Only)"
1203
+ },
1204
+ {
1205
+ "type": "color",
1206
+ "id": "blog_icon_color_overlay",
1207
+ "label": "Icon Color (Overlay Style Only)"
1208
+ },
1209
+ {
1210
+ "type": "color",
1211
+ "id": "blog_button_bg_color_overlay",
1212
+ "label": "Button BG Color (Overlay Style Only)"
1213
+ },
1214
+ {
1215
+ "type": "color",
1216
+ "id": "blog_button_text_color_overlay",
1217
+ "label": "Button Text Color (Overlay Style Only)"
1218
+ },
1219
+ {
1220
+ "type": "color",
1221
+ "id": "blog_button_bg_hover_color_overlay",
1222
+ "label": "Button Hover BG Color (Overlay Style Only)"
1223
+ },
1224
+ {
1225
+ "type": "color",
1226
+ "id": "blog_button_text_hover_color_overlay",
1227
+ "label": "Button Hover Text Color (Overlay Style Only)"
1228
+ },
1229
+ {
1230
+ "type": "header",
1231
+ "content": "Masonry Content Width",
1232
+ "info": "For Tablet & Mobile 100/100 comes by default"
1233
+ },
1234
+ {
1235
+ "type": "text",
1236
+ "id": "masonry_content_width",
1237
+ "label": "Desktop",
1238
+ "default":"50/50"
1239
+ },
1240
+ {
1241
+ "type": "text",
1242
+ "id": "lap_masonry_content_width",
1243
+ "label": "Laptop (Small Screen)",
1244
+ "default":"40/60"
1245
+ },
1246
+ {
1247
+ "type": "header",
1248
+ "content": "Carousel Settings",
1249
+ "info": "Set Total Number of Posts from above options"
1250
+ },
1251
+ {
1252
+ "type": "checkbox",
1253
+ "id": "enable_slider",
1254
+ "label": "Enable Carousel (Masonry Option will not work if this is enabled)",
1255
+ "default": false
1256
+ },
1257
+ {
1258
+ "type": "checkbox",
1259
+ "id": "enable_auto_height",
1260
+ "label": "Enable auto height",
1261
+ "default": true
1262
+ },
1263
+
1264
+ {
1265
+ "type": "range",
1266
+ "id": "items_per_view",
1267
+ "label": "Slide per row [Desktop]",
1268
+ "min": 1,
1269
+ "max": 6,
1270
+ "step": 1,
1271
+ "default": 4,
1272
+ "info": "Maximum of 2 Slides, if List View is enabled"
1273
+ },
1274
+ {
1275
+ "type": "range",
1276
+ "id": "items_laptop_view",
1277
+ "label": "Slide per row [Laptop]",
1278
+ "min": 1,
1279
+ "max": 5,
1280
+ "step": 1,
1281
+ "default": 3,
1282
+ "info": "Maximum of 2 Slides, if List View is enabled"
1283
+ },
1284
+ {
1285
+ "type": "range",
1286
+ "id": "items_tablet_view",
1287
+ "label": "Slide per row [Tablet]",
1288
+ "min": 1,
1289
+ "max": 4,
1290
+ "step": 1,
1291
+ "default": 2,
1292
+ "info": "Maximum of 1 Slides, if List View is enabled"
1293
+ },
1294
+ {
1295
+ "type": "range",
1296
+ "id": "items_mobile_view",
1297
+ "label": "Slide per row [Mobile]",
1298
+ "min": 1,
1299
+ "max": 3,
1300
+ "step": 1,
1301
+ "default": 1,
1302
+ "info": "Maximum of 1 Slides, if List View is enabled"
1303
+ },
1304
+ {
1305
+ "type": "text",
1306
+ "id": "column_gap",
1307
+ "label": "Column Gap (unit's not needed)",
1308
+ "default":"30"
1309
+ },
1310
+ {
1311
+ "type": "range",
1312
+ "id": "slider_autoplay",
1313
+ "min": 0,
1314
+ "max": 7,
1315
+ "step": 1,
1316
+ "label": "Autoplay timing",
1317
+ "default": 0,
1318
+ "unit": "sec",
1319
+ "info": "Use 0 to stop auto rotate"
1320
+ },
1321
+ {
1322
+ "type": "checkbox",
1323
+ "id": "dots",
1324
+ "label": "Enable Carousel Pagination",
1325
+ "default": true
1326
+ },
1327
+ {
1328
+ "type": "select",
1329
+ "id": "carousel_pagination_alignment",
1330
+ "label": "Carousel Pagination Alignment (Only Bottom)",
1331
+ "options": [
1332
+ {
1333
+ "value": "left_pagination",
1334
+ "label": "Left Aligned"
1335
+ },
1336
+ {
1337
+ "value": "center_pagination",
1338
+ "label": "Center Aligned"
1339
+ },
1340
+ {
1341
+ "value": "right_pagination",
1342
+ "label": "Right Aligned"
1343
+ }
1344
+ ],
1345
+ "default": "center_pagination"
1346
+ },
1347
+ {
1348
+ "type": "checkbox",
1349
+ "id": "arrows",
1350
+ "label": "Enable Navigation Arrows",
1351
+ "default": true
1352
+ },
1353
+ {
1354
+ "type": "select",
1355
+ "id": "nav_arrow_position",
1356
+ "label": "Navigation Arrows position",
1357
+ "options": [
1358
+ {
1359
+ "value": "navigation-top-left",
1360
+ "label": "Top Left"
1361
+ },
1362
+ {
1363
+ "value": "navigation-top-center",
1364
+ "label": "Top Center"
1365
+ },
1366
+ {
1367
+ "value": "navigation-top-right",
1368
+ "label": "Top Right"
1369
+ },
1370
+ {
1371
+ "value": "center-navigation",
1372
+ "label": "Center"
1373
+ },
1374
+ {
1375
+ "value": "navigation-bottom-left",
1376
+ "label": "Bottom left"
1377
+ },
1378
+ {
1379
+ "value": "navigation-bottom-center",
1380
+ "label": "Bottom center"
1381
+ },
1382
+ {
1383
+ "value": "navigation-bottom-right",
1384
+ "label": "Bottom right"
1385
+ }
1386
+ ],
1387
+ "default": "center-navigation"
1388
+ },
1389
+ {
1390
+ "type": "select",
1391
+ "id": "center_nav_arrow_alignment",
1392
+ "label": "Center navigation alignment (Select 'Center', in the above dropdown)",
1393
+ "options": [
1394
+ {
1395
+ "value": "outside_container",
1396
+ "label": "Outside Container (not for Full width Section)"
1397
+ },
1398
+ {
1399
+ "value": "along_with_container",
1400
+ "label": "Along with Container"
1401
+ },
1402
+ {
1403
+ "value": "inside_container",
1404
+ "label": "Inside Container"
1405
+ }
1406
+ ],
1407
+ "default": "outside_container"
1408
+ },
1409
+ {
1410
+ "type": "color",
1411
+ "id": "navigation_button_color",
1412
+ "label": "Navigation Button Bg Color"
1413
+ },
1414
+ {
1415
+ "type": "color",
1416
+ "id": "navigation_button_icon_color",
1417
+ "label": "Navigation Button Icon Color"
1418
+ },
1419
+ {
1420
+ "type": "color",
1421
+ "id": "navigation_button_hover_color",
1422
+ "label": "Navigation Button Hover Bg Color"
1423
+ },
1424
+ {
1425
+ "type": "color",
1426
+ "id": "navigation_button_hover_icon_color",
1427
+ "label": "Navigation Button Hover Icon Color"
1428
+ },
1429
+ {
1430
+ "type": "color",
1431
+ "id": "navigation_dot_color",
1432
+ "label": "Navigation Dot Color"
1433
+ },
1434
+ {
1435
+ "type": "color",
1436
+ "id": "navigation_dot_active_color",
1437
+ "label": "Navigation Dot Active Color"
1438
+ },
1439
+ {
1440
+ "type": "image_picker",
1441
+ "id": "meta_image",
1442
+ "label": "Background image"
1443
+
1444
+ },
1445
+ {
1446
+ "type": "header",
1447
+ "content": "Custom class"
1448
+ },
1449
+ {
1450
+ "type": "text",
1451
+ "id": "custom_class_name",
1452
+ "label": "Add your custom class name here"
1453
+ }
1454
+ ],
1455
+ "presets": [
1456
+ {
1457
+ "name": "Blog posts",
1458
+ "category": "Blog"
1459
+ }
1460
+ ]
1461
+ }
1462
+ {% endschema %}