Changes to web template fixtures and css
This commit is contained in:
@ -0,0 +1,39 @@
|
||||
{
|
||||
"doctype": "Web Template",
|
||||
"name": "Large Heading Section - 1",
|
||||
"module": "Website",
|
||||
"type": "Component",
|
||||
"template": "<section class=\"rd-large-heading-section-one\" {% if padding_top %} style=\"padding-top: {{ padding_top }};\" {% endif %} {% if padding_bottom %} style=\"padding-bottom: {{ padding_bottom }};\" {% endif %}><div class=\"container text-center\"><h2 class=\"rd-heading\">{% set words = heading.split(' ') %}{% for word in words %}{% if loop.index == highlight_word_number %}<span class=\"text-gradient-1\">{{ word }}</span>{% else %}{{ word }}{% endif %} {% endfor %}</h2></div></section>",
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "heading",
|
||||
"fieldtype": "Data",
|
||||
"label": "Heading",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "highlight_word_number",
|
||||
"fieldtype": "Int",
|
||||
"label": "Highlight Word Number",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "padding_top",
|
||||
"fieldtype": "Data",
|
||||
"label": "Padding Top",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "padding_bottom",
|
||||
"fieldtype": "Data",
|
||||
"label": "Padding Bottom",
|
||||
"reqd": 0
|
||||
}
|
||||
|
||||
],
|
||||
"owner": "Administrator",
|
||||
"created_by": "Administrator",
|
||||
"modified": "2024-08-12 14:30:14",
|
||||
"standard": 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user