From a3afcfaae0a7766854decf78f8f7ecaea04bd3d2 Mon Sep 17 00:00:00 2001 From: Mosa Al-Husseini Date: Mon, 18 Dec 2023 12:26:49 +0100 Subject: [PATCH] [TASK] add changes to news and partners section --- theme/sections/news-section.html | 95 +++++++++++++++++++++++++++----- theme/sections/partners.html | 4 +- 2 files changed, 83 insertions(+), 16 deletions(-) diff --git a/theme/sections/news-section.html b/theme/sections/news-section.html index 6c2ff75..f4a9f02 100644 --- a/theme/sections/news-section.html +++ b/theme/sections/news-section.html @@ -7,7 +7,13 @@ --> {% dnd_section background_color="rgba(240, 240, 240, 1)", - class="news-section" + class="news-section", + padding={ + "default" : { + "bottom" : "120px" + } + }, + full_width=false %} {% dnd_column offset=0, @@ -24,10 +30,10 @@ path="@marketplace/Resultify/Nimbly_Lite/modules/n-heading", offset=0, width=12, - text="Just nu", style={ "spacing" : { "spacing" : { + "css" : "padding-left: 20px; margin-bottom: 33px;", "margin" : { "bottom" : { "units" : "px", @@ -46,7 +52,8 @@ } } } - } + }, + text="Just nu" %} {% end_dnd_module %} {% end_dnd_row %} @@ -55,14 +62,6 @@ path="@marketplace/Resultify/Nimbly_Lite/modules/blog-recent", offset=0, width=12, - select_blog=88103057615, - heading={ - "heading_tag" : "h3" - }, - button={ - "show" : true, - "text" : "Läs mer" - }, blog_components=[ { "component" : "Image", "show" : true @@ -85,12 +84,24 @@ "component" : "Description", "show" : false } ], + button={ + "show" : true, + "text" : "Läs mer" + }, + heading={ + "heading_tag" : "h3" + }, + select_blog=88103057615, style={ "article" : { "background" : { "color" : { "color" : "#FFFFFF", - "opacity" : 100 + "css" : "#FFFFFF", + "hex" : "#FFFFFF", + "opacity" : 100, + "rgb" : "rgb(255, 255, 255)", + "rgba" : "rgba(255, 255, 255, 1)" } }, "border" : { @@ -98,6 +109,7 @@ "bottom" : { "style" : "none" }, + "css" : "border: 0px none ;", "left" : { "style" : "none" }, @@ -112,6 +124,7 @@ }, "internal_spacing" : { "spacing" : { + "css" : "padding-top: 0px; padding-right: 0px; padding-bottom: 40px; padding-left: 0px;", "padding" : { "bottom" : { "units" : "px", @@ -136,24 +149,34 @@ "button" : { "alignment" : { "alignment" : { + "css" : "", "horizontal_align" : "LEFT" } }, "background" : { "color" : { "color" : "#FFFFFF", - "opacity" : 100 + "css" : "#FFFFFF", + "hex" : "#FFFFFF", + "opacity" : 100, + "rgb" : "rgb(255, 255, 255)", + "rgba" : "rgba(255, 255, 255, 1)" } }, "custom_theme_overrides" : { "background" : { "color" : "#FFFFFF", - "opacity" : 100 + "css" : "#FFFFFF", + "hex" : "#FFFFFF", + "opacity" : 100, + "rgb" : "rgb(255, 255, 255)", + "rgba" : "rgba(255, 255, 255, 1)" }, "border" : { "bottom" : { "style" : "none" }, + "css" : "border: 0px none ;", "left" : { "style" : "none" }, @@ -166,14 +189,22 @@ }, "font" : { "color" : "#3aaa35", + "css" : "color: #3aaa35;font-size: 14px;font-family: 'Open Sans', sans-serif;", "fallback" : "sans-serif", "font" : "Open Sans", "font_set" : "GOOGLE", "size" : 14, - "styles" : { }, + "style" : "font-family: 'Open Sans', sans-serif; font-style: normal; font-weight: normal; text-decoration: none", + "styles" : { + "font-family" : "'Open Sans', sans-serif", + "font-style" : "normal", + "font-weight" : "normal", + "text-decoration" : "none" + }, "variant" : "regular" }, "spacing" : { + "css" : "padding: 0px;", "padding" : { "bottom" : { "units" : "px", @@ -196,6 +227,7 @@ }, "spacing" : { "spacing" : { + "css" : "padding-left: 15px;", "padding" : { "bottom" : { }, "left" : { @@ -211,6 +243,7 @@ "heading" : { "spacing" : { "spacing" : { + "css" : "padding-top: 2px; padding-left: 35px;", "padding" : { "bottom" : { }, "left" : { @@ -229,6 +262,7 @@ "image" : { "alignment" : { "alignment" : { + "css" : "", "horizontal_align" : "CENTER" } }, @@ -240,6 +274,7 @@ "link" : { "spacing" : { "spacing" : { + "css" : "padding-top: 35px; padding-right: 0px;padding-left: 35px;", "padding" : { "bottom" : { }, "left" : { @@ -262,5 +297,35 @@ %} {% end_dnd_module %} {% end_dnd_row %} + {% dnd_row %} + {% dnd_module + path="@marketplace/Resultify/Nimbly_Lite/modules/n-button", + offset=0, + width=12, + style={ + "alignment" : { + "alignment" : { + "horizontal_align" : "CENTER" + } + }, + "presets" : { + "style" : "btn-secondary1" + }, + "spacing" : { + "spacing" : { + "margin" : { + "bottom" : { }, + "top" : { + "units" : "px", + "value" : 35 + } + } + } + } + }, + text="Se alla artiklar" + %} + {% end_dnd_module %} + {% end_dnd_row %} {% end_dnd_column %} {% end_dnd_section %} diff --git a/theme/sections/partners.html b/theme/sections/partners.html index 7cbba4d..e50a568 100644 --- a/theme/sections/partners.html +++ b/theme/sections/partners.html @@ -74,7 +74,9 @@ {% end_dnd_row %} {% end_dnd_column %} {% end_dnd_row %} - {% dnd_row %} + {% dnd_row + vertical_alignment="MIDDLE" + %} {% dnd_column offset=0, width=3