diff --git a/assets/base.css b/assets/base.css
index db6c12ab83f..cf4ef964b6b 100644
--- a/assets/base.css
+++ b/assets/base.css
@@ -277,24 +277,6 @@ body,
}
}
-.section-wrapper {
- border-radius: var(--sections-radius);
- border: var(--sections-border-width) solid rgba(var(--color-foreground), var(--sections-border-opacity));
- overflow: hidden;
-}
-
-.section-wrapper.section-wrapper--fullwidth {
- padding-left: 0;
- padding-right: 0;
- border-radius: 0;
- border-left: 0;
- border-right: 0;
-}
-
-.section-wrapper--padded {
- padding: 2rem;
-}
-
.grid-auto-flow {
display: grid;
grid-auto-flow: column;
diff --git a/config/settings_schema.json b/config/settings_schema.json
index 0ebca17fad3..34b85bfd0e2 100644
--- a/config/settings_schema.json
+++ b/config/settings_schema.json
@@ -625,51 +625,6 @@
}
]
},
- {
- "name": "Sections",
- "settings": [
- {
- "type": "range",
- "id": "sections_spacing",
- "min": 0,
- "max": 80,
- "step": 4,
- "unit": "px",
- "label": "Vertical spacing between sections",
- "default": 40
- },
- {
- "type": "range",
- "id": "sections_border_opacity",
- "min": 0,
- "max": 100,
- "step": 5,
- "unit": "%",
- "label": "Border opacity",
- "default": 50
- },
- {
- "type": "range",
- "id": "sections_border_width",
- "min": 0,
- "max": 10,
- "step": 1,
- "unit": "px",
- "label": "Border thickness",
- "default": 0
- },
- {
- "type": "range",
- "id": "sections_radius",
- "min": 0,
- "max": 30,
- "step": 3,
- "unit": "px",
- "label": "Corner radius",
- "default": 0
- }
- ]
- },
{
"name": "t:settings_schema.typography.name",
"settings": [
@@ -845,6 +800,16 @@
"default": "1600",
"label": "t:settings_schema.layout.settings.page_width.label"
},
+ {
+ "type": "range",
+ "id": "sections_spacing",
+ "min": 0,
+ "max": 40,
+ "step": 4,
+ "unit": "px",
+ "label": "Vertical spacing between sections",
+ "default": 20
+ },
{
"type": "paragraph",
"content": "Affects collection, search and blog pages. Also affects collage, collection, collection list, multicolumn and blog sections."
diff --git a/layout/theme.liquid b/layout/theme.liquid
index 2c5c8aadb96..aa77f22a065 100644
--- a/layout/theme.liquid
+++ b/layout/theme.liquid
@@ -97,11 +97,6 @@
--sections-spacing: {{ settings.sections_spacing }}px;
--sections-safe-spacing: {% if settings.sections_spacing < 15 %}15{% else %}{{settings.sections_spacing}}{% endif %}px;
- --sections-padding: 20px;
- --sections-radius: {{ settings.sections_radius }}px;
- --sections-border-width: {{ settings.sections_border_width }}px;
- --sections-border-opacity: {{ settings.sections_border_opacity | divided_by: 100.0 }};
- --sections-border-color: {{ settings.sections_border_color.red }}, {{ settings.sections_border_color.green }}, {{ settings.sections_border_color.blue }};
--popup-drawer-border-width: {{ settings.popup_drawer_border_width }}px;
--popup-drawer-border-opacity: {{ settings.popup_drawer_border_opacity | divided_by: 100.0 }};
diff --git a/sections/collage.liquid b/sections/collage.liquid
index b371d25b84c..2947729cc21 100644
--- a/sections/collage.liquid
+++ b/sections/collage.liquid
@@ -6,111 +6,156 @@
{{ section.settings.heading | escape }}
-
-
- {%- for block in section.blocks -%}
+
+ {%- for block in section.blocks -%}
- {% liquid
- assign focus_card_left = false
- if section.settings.desktop_layout == 'left' and forloop.first
- assign focus_card_left = true
- elsif section.settings.desktop_layout == 'right' and forloop.last
- assign focus_card_right = true
- endif
- %}
- {%- case block.type -%}
- {%- when 'image' -%}
-
-
- {%- if block.settings.image != blank -%}
-

- {%- else -%}
- {{ 'image' | placeholder_svg_tag: 'placeholder-svg placeholder collage-card__image' }}
- {%- endif -%}
-
+ {% liquid
+ assign focus_card_left = false
+ if section.settings.desktop_layout == 'left' and forloop.first
+ assign focus_card_left = true
+ elsif section.settings.desktop_layout == 'right' and forloop.last
+ assign focus_card_right = true
+ endif
+ %}
+ {%- case block.type -%}
+ {%- when 'image' -%}
+
+
+ {%- if block.settings.image != blank -%}
+

+ {%- else -%}
+ {{ 'image' | placeholder_svg_tag: 'placeholder-svg placeholder collage-card__image' }}
+ {%- endif -%}
- {%- when 'product'-%}
-
-
- {% render 'card-product',
- card_product: block.settings.product,
- media_aspect_ratio: 'auto',
- show_secondary_image: block.settings.second_image
- %}
-
-
- {%- when 'collection'-%}
-
- {% render 'card-collection',
- card_collection: block.settings.collection,
+
+ {%- when 'product'-%}
+
+
+ {% render 'card-product',
+ card_product: block.settings.product,
media_aspect_ratio: 'auto',
- columns: 2
+ show_secondary_image: block.settings.second_image
%}
- {%- when 'video' -%}
-
+ {%- endcase -%}
+ {%- endfor -%}
diff --git a/sections/featured-product.liquid b/sections/featured-product.liquid
index 6aa314b38ed..4f106679a0d 100644
--- a/sections/featured-product.liquid
+++ b/sections/featured-product.liquid
@@ -65,271 +65,269 @@
{%- assign product_form_id = 'product-form-' | append: section.id -%}
- {%- for block in section.blocks -%}
- {%- case block.type -%}
- {%- when 'text' -%}
-
- {{- block.settings.text -}}
-
- {%- when 'title' -%}
-
- {%- if product.title != blank -%}
- {{ product.title | escape }}
- {%- else -%}
- {{ 'onboarding.product_title' | t }}
+ {%- for block in section.blocks -%}
+ {%- case block.type -%}
+ {%- when 'text' -%}
+
+ {{- block.settings.text -}}
+
+ {%- when 'title' -%}
+
+ {%- if product.title != blank -%}
+ {{ product.title | escape }}
+ {%- else -%}
+ {{ 'onboarding.product_title' | t }}
+ {%- endif -%}
+
+ {%- when 'price' -%}
+
+ {%- render 'price', product: product, use_variant: true, show_badges: true, price_class: 'price--large' -%}
+
+ {%- if shop.taxes_included or shop.shipping_policy.body != blank -%}
+
+ {%- if shop.taxes_included -%}
+ {{ 'products.product.include_taxes' | t }}
+ {%- endif -%}
+ {%- if shop.shipping_policy.body != blank -%}
+ {{ 'products.product.shipping_policy_html' | t: link: shop.shipping_policy.url }}
{%- endif -%}
-
- {%- when 'price' -%}
-
- {%- render 'price', product: product, use_variant: true, show_badges: true, price_class: 'price--large' -%}
- {%- if shop.taxes_included or shop.shipping_policy.body != blank -%}
-
- {%- if shop.taxes_included -%}
- {{ 'products.product.include_taxes' | t }}
- {%- endif -%}
- {%- if shop.shipping_policy.body != blank -%}
- {{ 'products.product.shipping_policy_html' | t: link: shop.shipping_policy.url }}
- {%- endif -%}
-
- {%- endif -%}
- {%- if product != blank -%}
-
- {%- form 'product', product -%}
-
- {{ form | payment_terms }}
- {%- endform -%}
-
- {%- endif -%}
- {%- when 'quantity_selector' -%}
-