Hmm, dans ce cas, vous pourriez ajouter quelque chose comme ceci à l’un des paramètres « content » de la bannière polyvalente :
Et ensuite, ajoutez du CSS à votre thème principal ou à un nouveau composant. Voici un exemple où vous pouvez remplacer LIEN_VERS_IMAGE_MOBILE par le lien d’image réel :
.mobile-view .xmas-banner-image {
background-image: url("LIEN_VERS_IMAGE_MOBILE");
height: 50px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
.desktop-view .xmas-banner-image {
background-image: url("LIEN_VERS_IMAGE_DESKTOP");
height: 200px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
Vous devrez expérimenter avec le CSS, mais j’espère que cela vous donnera un bon point de départ.