Prometeo
Account
AP
App
Generale
App
Pagine generate
Pagine generate
Pagine generate
Indietro
Layout
Layout
Layout
Indietro
Blocchi
Blocchi
Blocchi stilati
Blocchi master
Indietro
Stili grafici
Stili grafici
Stili grafici
Varianti grafiche
Indietro
Importa stili grafici
Importa stili grafici
Importazioni
Blocchi importati
Indietro
Immagini
Immagini
Libreria
Indietro
Impostazioni
Impostazioni
Dati per anteprime
Intelligenza artificiale
Siti destinazione
Tipi di campi
Tipi di pagina
Tipi di blocco
Indietro
Demo
Demo
Ricette
Ingredienti
Indietro
Più spazio
Modifica blocco
Salva
Name
Tipo
---------
Content
CTA
FAQ
Features
Hero
Navigation
Descrizione
Sezione a sfondo rosso/bianco: intestazione (eyebrow + titolo), immagine laterale e colonna testo con paragrafi, elenco benefit a due colonne e box Dove/Quando
Codice blocco
HTML template
<div class="block-2cols-image-rich-text-with-title {{ content.color_scheme }}"> <div class="top-section"> <p>{{ content.eyebrow }}</p> <h2>{{ content.title }}</h2> </div> <div class="bottom-section"> <div class="image-wrapper" style="background-image: url('{{ content.background_image_url }}');"></div> <div class="text-wrapper"> <div class="text-content"> {{ content.body|safe }} </div> <div class="list-wrapper cols-2"> <div class="left-col"> {% for text in content.features_left %} <div class="list-item"> <svg width="30" height="30" viewBox="0 0 30 30" fill="none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 15.2L11.4 23.5L27.5 8.5" stroke="#000" stroke-width="6" stroke-linecap="square" stroke-linejoin="miter" fill="none"/></svg> <span>{{ text }}</span> </div> {% endfor %} </div> <div class="right-col"> {% for text in content.features_right %} <div class="list-item"> <svg width="30" height="30" viewBox="0 0 30 30" fill="none" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 15.2L11.4 23.5L27.5 8.5" stroke="#000" stroke-width="6" stroke-linecap="square" stroke-linejoin="miter" fill="none"/></svg> <span>{{ text }}</span> </div> {% endfor %} </div> </div> <div class="info-wrapper cols-2"> <div class="left-col"> <h3>{{ content.info_where_title|default:"Dove" }}</h3> <p>{{ content.info_where_text }}</p> </div> <div class="right-col"> <h3>{{ content.info_when_title|default:"Quando" }}</h3> <p>{{ content.info_when_text }}</p> </div> </div> </div> </div> </div>
Styleable elements (JSON)
["root", "title", "eyebrow"]
Lista slot stileabili, es. [{"slot": "title", "default": "h2"}].
CSS base
.block-2cols-image-rich-text-with-title { padding: 40px 0 0 0; box-sizing: border-box; } .block-2cols-image-rich-text-with-title * { box-sizing: border-box; } .block-2cols-image-rich-text-with-title .top-section { display: flex; padding: 0 40px 40px 40px; flex-direction: column; gap: 20px; align-items: center; } .block-2cols-image-rich-text-with-title .top-section p { margin: 0; color: #000000; font-size: 22px; line-height: 1.2em; } .block-2cols-image-rich-text-with-title .top-section h2 { margin: 0; color: #AB1E24; font-size: 65px; font-weight: 800; text-transform: uppercase; line-height: 1em; } .block-2cols-image-rich-text-with-title .bottom-section { display: flex; } .block-2cols-image-rich-text-with-title .bottom-section .image-wrapper { background-position: center center; background-repeat: no-repeat; background-size: cover; width: 43%; } .block-2cols-image-rich-text-with-title .bottom-section .text-wrapper { display: flex; width: 57%; padding: 80px 40px; flex-direction: column; gap: 80px; } .block-2cols-image-rich-text-with-title .bottom-section .text-content { display: flex; flex-direction: column; gap: 20px; } .block-2cols-image-rich-text-with-title .bottom-section .text-content p { margin: 0; color: #000000; font-size: 26px; font-weight: 300; line-height: 1.2em; } .block-2cols-image-rich-text-with-title .bottom-section .cols-2 { display: flex; gap: 20px; } .block-2cols-image-rich-text-with-title .bottom-section .cols-2 > div { flex: 1; } .block-2cols-image-rich-text-with-title .bottom-section .list-wrapper > div { display: flex; flex-direction: column; gap: 20px; } .block-2cols-image-rich-text-with-title .bottom-section .list-item { display: flex; gap: 20px; } .block-2cols-image-rich-text-with-title .bottom-section .list-item svg { width: 30px; } .block-2cols-image-rich-text-with-title .bottom-section .list-item span { flex: 1; color: #AB1E24; font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1.5em; } .block-2cols-image-rich-text-with-title .bottom-section .info-wrapper h3 { margin: 0 0 10px 0; color: #000000; font-size: 24px; font-weight: 800; text-transform: uppercase; line-height: 1em; } .block-2cols-image-rich-text-with-title .bottom-section .info-wrapper p { margin: 0; color: #AB1E24; font-size: 18px; font-weight: 400; line-height: 1.2em; } .block-2cols-image-rich-text-with-title.red { background-color: #AB1E24; } .block-2cols-image-rich-text-with-title.red .top-section h2, .block-2cols-image-rich-text-with-title.red .bottom-section .text-content p, .block-2cols-image-rich-text-with-title.red .bottom-section .list-item span, .block-2cols-image-rich-text-with-title.red .bottom-section .info-wrapper p { color: #FFFFFF; } @media (max-width: 1024px) { .block-2cols-image-rich-text-with-title .top-section h2 { font-size: 45px; } .block-2cols-image-rich-text-with-title .bottom-section { flex-direction: column; } .block-2cols-image-rich-text-with-title .bottom-section .image-wrapper { width: 100%; height: 486px; } .block-2cols-image-rich-text-with-title .bottom-section .text-wrapper { width: 100%; padding: 40px; } .block-2cols-image-rich-text-with-title .bottom-section .text-content p { font-size: 20px; } .block-2cols-image-rich-text-with-title .bottom-section .list-item span { font-size: 18px; } .block-2cols-image-rich-text-with-title .bottom-section .info-wrapper h3 { font-size: 20px; } } @media (max-width: 767px) { .block-2cols-image-rich-text-with-title .top-section { padding: 0 20px 20px 20px; } .block-2cols-image-rich-text-with-title .top-section h2 { font-size: 32px; } .block-2cols-image-rich-text-with-title .bottom-section .cols-2 { flex-direction: column; } .block-2cols-image-rich-text-with-title .bottom-section .text-wrapper { padding: 40px 20px; } .block-2cols-image-rich-text-with-title .bottom-section .cols-2.info-wrapper { gap: 40px; } }
JS base (legacy)
Deprecato. Preferire js_shared + js_instance_template.
JS condiviso
Library/behavior, incluso una sola volta per blocco.
JS per istanza
Template con {{ block_id }}, eseguito per ogni occorrenza.
Schema contenuti
Content schema json
{}
Default content json
{"body": "", "title": "", "eyebrow": "", "color_scheme": "", "features_left": "", "features_right": "", "info_when_text": "", "info_when_title": "", "info_where_text": "", "background_image": "", "info_where_title": ""}