Skip to content

Commit

Permalink
[TASK] add changes to news and partners section
Browse files Browse the repository at this point in the history
  • Loading branch information
mesosa committed Dec 18, 2023
1 parent e9131f7 commit a3afcfa
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 16 deletions.
95 changes: 80 additions & 15 deletions theme/sections/news-section.html
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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",
Expand All @@ -46,7 +52,8 @@
}
}
}
}
},
text="Just nu"
%}
{% end_dnd_module %}
{% end_dnd_row %}
Expand All @@ -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
Expand All @@ -85,19 +84,32 @@
"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" : {
"border" : {
"bottom" : {
"style" : "none"
},
"css" : "border: 0px none ;",
"left" : {
"style" : "none"
},
Expand All @@ -112,6 +124,7 @@
},
"internal_spacing" : {
"spacing" : {
"css" : "padding-top: 0px; padding-right: 0px; padding-bottom: 40px; padding-left: 0px;",
"padding" : {
"bottom" : {
"units" : "px",
Expand All @@ -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"
},
Expand All @@ -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",
Expand All @@ -196,6 +227,7 @@
},
"spacing" : {
"spacing" : {
"css" : "padding-left: 15px;",
"padding" : {
"bottom" : { },
"left" : {
Expand All @@ -211,6 +243,7 @@
"heading" : {
"spacing" : {
"spacing" : {
"css" : "padding-top: 2px; padding-left: 35px;",
"padding" : {
"bottom" : { },
"left" : {
Expand All @@ -229,6 +262,7 @@
"image" : {
"alignment" : {
"alignment" : {
"css" : "",
"horizontal_align" : "CENTER"
}
},
Expand All @@ -240,6 +274,7 @@
"link" : {
"spacing" : {
"spacing" : {
"css" : "padding-top: 35px; padding-right: 0px;padding-left: 35px;",
"padding" : {
"bottom" : { },
"left" : {
Expand All @@ -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 %}
4 changes: 3 additions & 1 deletion theme/sections/partners.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3afcfa

Please sign in to comment.