diff --git a/test_themes/tests/test_new_page_templates.py b/test_themes/tests/test_new_page_templates.py
index 9709ab7c6..00ca9d0a9 100644
--- a/test_themes/tests/test_new_page_templates.py
+++ b/test_themes/tests/test_new_page_templates.py
@@ -96,7 +96,7 @@ S_CLASSES_WHITELIST = [
# Classes that rightfully belong here at the moment
's_col_no_bgcolor', 's_col_no_resize', 's_allow_columns',
's_nb_column_fixed', 's_dialog_preview',
- 's_parallax_is_fixed', 's_parallax_bg', 's_parallax_no_overflow_hidden',
+ 's_parallax_is_fixed', 's_parallax_bg', 's_parallax_bg_wrap',
's_carousel_cards_card', 's_timeline_card', 's_blog_posts', 's_events',
's_appointments',
@@ -347,6 +347,16 @@ class TestNewPageTemplates(TransactionCase):
"Using %r, view %r defines a row count on a non-grid mode row"
% (theme_name, view.key)
)
+
+ for el in html_tree.xpath(".//*[contains(concat(' ', normalize-space(@class), ' '), ' s_parallax_bg ')]"):
+ parent = el.getparent()
+ parent_classes = parent.attrib.get('class')
+ if parent_classes != 's_parallax_bg_wrap':
+ errors.append(
+ "Using %r, view %r: element with class 's_parallax_bg' must have a direct "
+ "parent with 's_parallax_bg_wrap', found parent classes: %r"
+ % (theme_name, view.key, parent_classes)
+ )
except Exception as e: # noqa: BLE001
_logger.error("Using %r, view %r cannot be rendered (%r)", theme_name, view.key, e)
errors.append("Using %r, view %r cannot be rendered (%r)" % (theme_name, view.key, e))
diff --git a/theme_anelusia/views/snippets/s_pricelist_boxed.xml b/theme_anelusia/views/snippets/s_pricelist_boxed.xml
index bb91ab70d..ba021c14f 100644
--- a/theme_anelusia/views/snippets/s_pricelist_boxed.xml
+++ b/theme_anelusia/views/snippets/s_pricelist_boxed.xml
@@ -5,10 +5,10 @@
-
+
{'shape':'html_builder/Floats/12','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}
-
+
diff --git a/theme_artists/views/snippets/s_cover.xml b/theme_artists/views/snippets/s_cover.xml
index c59f59565..1e28bbe86 100644
--- a/theme_artists/views/snippets/s_cover.xml
+++ b/theme_artists/views/snippets/s_cover.xml
@@ -4,7 +4,7 @@
-
+
{'shape':'html_builder/Connections/20','colors':{'c5': 'o-color-1'},'flip':['y'], 'showOnMobile':true}
@@ -13,7 +13,7 @@
-
+
Emotions
through the colors
diff --git a/theme_artists/views/snippets/s_pricelist_boxed.xml b/theme_artists/views/snippets/s_pricelist_boxed.xml
index b0665941c..d630fbdb3 100644
--- a/theme_artists/views/snippets/s_pricelist_boxed.xml
+++ b/theme_artists/views/snippets/s_pricelist_boxed.xml
@@ -5,10 +5,10 @@
-
+
{'shape':'html_builder/Wavy/27','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}
-
+
diff --git a/theme_artists/views/snippets/s_title.xml b/theme_artists/views/snippets/s_title.xml
index f6c9b5602..5369cb529 100644
--- a/theme_artists/views/snippets/s_title.xml
+++ b/theme_artists/views/snippets/s_title.xml
@@ -9,7 +9,9 @@
-
+
+
+
@@ -27,7 +29,7 @@
-
+
diff --git a/theme_avantgarde/views/customizations.xml b/theme_avantgarde/views/customizations.xml
index 0f2337b81..5ab756bc0 100644
--- a/theme_avantgarde/views/customizations.xml
+++ b/theme_avantgarde/views/customizations.xml
@@ -12,7 +12,8 @@
-
+
+
diff --git a/theme_bewise/views/customizations.xml b/theme_bewise/views/customizations.xml
index 5f3c7b1cf..34f94ba39 100644
--- a/theme_bewise/views/customizations.xml
+++ b/theme_bewise/views/customizations.xml
@@ -14,7 +14,7 @@
-
+
Always at the top
diff --git a/theme_bistro/views/snippets/s_image_title.xml b/theme_bistro/views/snippets/s_image_title.xml
index 7151bf0b3..9519e193a 100644
--- a/theme_bistro/views/snippets/s_image_title.xml
+++ b/theme_bistro/views/snippets/s_image_title.xml
@@ -9,7 +9,9 @@
-3
-
+
+
+
diff --git a/theme_bistro/views/snippets/s_product_catalog.xml b/theme_bistro/views/snippets/s_product_catalog.xml
index 8eb27398c..83be34095 100644
--- a/theme_bistro/views/snippets/s_product_catalog.xml
+++ b/theme_bistro/views/snippets/s_product_catalog.xml
@@ -9,7 +9,9 @@
1
-
+
+
+
diff --git a/theme_bookstore/views/snippets/s_cover.xml b/theme_bookstore/views/snippets/s_cover.xml
index b49ef66cb..5a96b38b8 100644
--- a/theme_bookstore/views/snippets/s_cover.xml
+++ b/theme_bookstore/views/snippets/s_cover.xml
@@ -14,7 +14,7 @@
-
+
Immerse yourself
in original universes
diff --git a/theme_bookstore/views/snippets/s_pricelist_boxed.xml b/theme_bookstore/views/snippets/s_pricelist_boxed.xml
index 740a843f4..f474cb031 100644
--- a/theme_bookstore/views/snippets/s_pricelist_boxed.xml
+++ b/theme_bookstore/views/snippets/s_pricelist_boxed.xml
@@ -5,7 +5,7 @@
-
+
{'shape':'html_builder/Airy/13_002','colors':{'c5':'o-color-1','c3':'o-color-4'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}
@@ -14,7 +14,7 @@
-
+
diff --git a/theme_buzzy/views/snippets/s_pricelist_boxed.xml b/theme_buzzy/views/snippets/s_pricelist_boxed.xml
index 33c39cdee..9a718cfbb 100644
--- a/theme_buzzy/views/snippets/s_pricelist_boxed.xml
+++ b/theme_buzzy/views/snippets/s_pricelist_boxed.xml
@@ -5,13 +5,13 @@
-
+
{'shape':'html_builder/Bold/15','colors':{'c5': 'o-color-3'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}
-
+
diff --git a/theme_clean/views/snippets/s_pricelist_boxed.xml b/theme_clean/views/snippets/s_pricelist_boxed.xml
index 6a8b24225..eb5b56fa0 100644
--- a/theme_clean/views/snippets/s_pricelist_boxed.xml
+++ b/theme_clean/views/snippets/s_pricelist_boxed.xml
@@ -5,13 +5,13 @@
-
+
{'shape':'html_builder/Connections/20','colors':{'c5': 'o-color-1'},'flip':['y'],'showOnMobile':false,'shapeAnimationSpeed':'0'}
-
+
diff --git a/theme_clean/views/snippets/s_product_catalog.xml b/theme_clean/views/snippets/s_product_catalog.xml
index e0c044077..2e99d074c 100644
--- a/theme_clean/views/snippets/s_product_catalog.xml
+++ b/theme_clean/views/snippets/s_product_catalog.xml
@@ -10,7 +10,9 @@
-
+
+
+
diff --git a/theme_cobalt/views/customizations.xml b/theme_cobalt/views/customizations.xml
index 2ea04a885..70773e5b6 100644
--- a/theme_cobalt/views/customizations.xml
+++ b/theme_cobalt/views/customizations.xml
@@ -344,13 +344,13 @@
-
+
{'shape':'html_builder/Bold/01_001','colors':{'c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}
-
+
diff --git a/theme_enark/views/snippets/s_banner.xml b/theme_enark/views/snippets/s_banner.xml
index 9a2c2a504..88d0b69bb 100644
--- a/theme_enark/views/snippets/s_banner.xml
+++ b/theme_enark/views/snippets/s_banner.xml
@@ -8,7 +8,9 @@
1
-
+
+
+
diff --git a/theme_graphene/views/customizations.xml b/theme_graphene/views/customizations.xml
index 8562b2542..29deb2fd8 100644
--- a/theme_graphene/views/customizations.xml
+++ b/theme_graphene/views/customizations.xml
@@ -4,11 +4,11 @@
-
+
0
background-image: url('/web/image/website.s_cover_default_image');
-
+
@@ -268,11 +268,13 @@
-
+
1
-
+
+
+
@@ -423,7 +425,7 @@
-
+
{'shape':'html_builder/Airy/11_001','colors':{'c5':'rgba(0,0,0,0.25)'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}
@@ -432,7 +434,7 @@
-
+
diff --git a/theme_kea/views/snippets/s_cover.xml b/theme_kea/views/snippets/s_cover.xml
index d42eeccaf..8d5ac6277 100644
--- a/theme_kea/views/snippets/s_cover.xml
+++ b/theme_kea/views/snippets/s_cover.xml
@@ -13,7 +13,7 @@
-
+
The Revolution
in Virtual Reality
diff --git a/theme_kea/views/snippets/s_pricelist_boxed.xml b/theme_kea/views/snippets/s_pricelist_boxed.xml
index ad20f76c2..9c9c98c51 100644
--- a/theme_kea/views/snippets/s_pricelist_boxed.xml
+++ b/theme_kea/views/snippets/s_pricelist_boxed.xml
@@ -5,13 +5,13 @@
-
+
{'shape':'html_builder/Floats/01','colors':{'c1':'o-color-1','c2':'o-color-1','c3':'o-color-1','c4':'o-color-1','c5':'o-color-1'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}
-
+
diff --git a/theme_kiddo/views/snippets/s_pricelist_boxed.xml b/theme_kiddo/views/snippets/s_pricelist_boxed.xml
index c96e57d0a..c4aaf609b 100644
--- a/theme_kiddo/views/snippets/s_pricelist_boxed.xml
+++ b/theme_kiddo/views/snippets/s_pricelist_boxed.xml
@@ -5,13 +5,13 @@
-
+
{'shape':'html_builder/Rainy/06','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}
-
+
diff --git a/theme_loftspace/views/snippets/s_title.xml b/theme_loftspace/views/snippets/s_title.xml
index 3e38055b8..ae78265bb 100644
--- a/theme_loftspace/views/snippets/s_title.xml
+++ b/theme_loftspace/views/snippets/s_title.xml
@@ -9,7 +9,9 @@
-
+
+
+
diff --git a/theme_monglia/views/customizations.xml b/theme_monglia/views/customizations.xml
index 95ddc494b..0f6e5dc78 100644
--- a/theme_monglia/views/customizations.xml
+++ b/theme_monglia/views/customizations.xml
@@ -519,13 +519,13 @@
-
+
{'shape':'html_builder/Bold/21','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}
-
+
diff --git a/theme_nano/views/snippets/s_cover.xml b/theme_nano/views/snippets/s_cover.xml
index d1c125b99..2ae1dd1c6 100644
--- a/theme_nano/views/snippets/s_cover.xml
+++ b/theme_nano/views/snippets/s_cover.xml
@@ -8,7 +8,7 @@
0
background-image: url('/web/image/website.s_cover_default_image'); background-position: 50% 0;
-
+
Creative Studio
diff --git a/theme_notes/views/snippets/s_pricelist_boxed.xml b/theme_notes/views/snippets/s_pricelist_boxed.xml
index 5aa38682f..bbd26c21f 100644
--- a/theme_notes/views/snippets/s_pricelist_boxed.xml
+++ b/theme_notes/views/snippets/s_pricelist_boxed.xml
@@ -5,13 +5,13 @@
-
+
{'shape':'html_builder/Rainy/08_001','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}
-
+
diff --git a/theme_notes/views/snippets/s_product_catalog.xml b/theme_notes/views/snippets/s_product_catalog.xml
index 6075efc94..fa8a07697 100644
--- a/theme_notes/views/snippets/s_product_catalog.xml
+++ b/theme_notes/views/snippets/s_product_catalog.xml
@@ -4,13 +4,15 @@
-
+
{"shape":"html_builder/Wavy/10","colors":{"c1":"o-color-2","c2":"o-color-2"},"flip":[]}
1
-
+
+
+
diff --git a/theme_odoo_experts/views/snippets/s_pricelist_boxed.xml b/theme_odoo_experts/views/snippets/s_pricelist_boxed.xml
index a9e67cde1..a23260c82 100644
--- a/theme_odoo_experts/views/snippets/s_pricelist_boxed.xml
+++ b/theme_odoo_experts/views/snippets/s_pricelist_boxed.xml
@@ -5,13 +5,13 @@
-
+
{'shape':'html_builder/Connections/20','colors':{'c5': 'o-color-3'},'flip':['y'],'showOnMobile':false,'shapeAnimationSpeed':'0'}
-
+
diff --git a/theme_orchid/views/snippets/s_kickoff.xml b/theme_orchid/views/snippets/s_kickoff.xml
index 51deb800c..6be7d3259 100644
--- a/theme_orchid/views/snippets/s_kickoff.xml
+++ b/theme_orchid/views/snippets/s_kickoff.xml
@@ -15,7 +15,7 @@
-
+
diff --git a/theme_paptic/views/customizations.xml b/theme_paptic/views/customizations.xml
index 7d9fdd183..2166d1ff8 100644
--- a/theme_paptic/views/customizations.xml
+++ b/theme_paptic/views/customizations.xml
@@ -496,7 +496,7 @@
-
+
{'shape':'html_builder/Bold/01_001','colors':{'c5':'o-color-2'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}
@@ -505,7 +505,7 @@
-
+
diff --git a/theme_real_estate/views/snippets/s_pricelist_boxed.xml b/theme_real_estate/views/snippets/s_pricelist_boxed.xml
index f26b1b79d..a48a4de9c 100644
--- a/theme_real_estate/views/snippets/s_pricelist_boxed.xml
+++ b/theme_real_estate/views/snippets/s_pricelist_boxed.xml
@@ -5,7 +5,7 @@
-
+
{'shape':'html_builder/Blocks/04','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}
@@ -14,7 +14,7 @@
-
+
diff --git a/theme_treehouse/views/snippets/s_title.xml b/theme_treehouse/views/snippets/s_title.xml
index e6ec99e31..59e1d7209 100644
--- a/theme_treehouse/views/snippets/s_title.xml
+++ b/theme_treehouse/views/snippets/s_title.xml
@@ -8,7 +8,9 @@
1
-
+
+
+
diff --git a/theme_yes/views/snippets/s_kickoff.xml b/theme_yes/views/snippets/s_kickoff.xml
index 8c1d8fe5f..5f6a68674 100644
--- a/theme_yes/views/snippets/s_kickoff.xml
+++ b/theme_yes/views/snippets/s_kickoff.xml
@@ -7,10 +7,10 @@
{"shape":"html_builder/Connections/05",'colors':{'c5':'o-color-3'},"flip":[]}
-
+
-
+
diff --git a/theme_zap/views/snippets/s_banner.xml b/theme_zap/views/snippets/s_banner.xml
index f1996a374..06e22db86 100644
--- a/theme_zap/views/snippets/s_banner.xml
+++ b/theme_zap/views/snippets/s_banner.xml
@@ -8,7 +8,9 @@
1
-
+
+
+
diff --git a/theme_zap/views/snippets/s_pricelist_boxed.xml b/theme_zap/views/snippets/s_pricelist_boxed.xml
index 94c17a108..3394c1235 100644
--- a/theme_zap/views/snippets/s_pricelist_boxed.xml
+++ b/theme_zap/views/snippets/s_pricelist_boxed.xml
@@ -5,13 +5,13 @@
-
+
{'shape':'html_builder/Bold/01_001','colors':{'c5':'o-color-2'},'flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}
-
+