welburn
(Welburrn)
Novembre 18, 2020, 12:41
1
Bonjour à tous,
Je souhaiterais faire référence aux variables SCSS assignées aux images téléchargées dans un composant de thème, dans le fichier header.html — plus précisément à l’intérieur de la fonction createWidget. Est-ce possible ?
Merci d’avance !
Canapin
(Coin-coin le Canapin)
Novembre 18, 2020, 2:21
2
settings.theme_uploads.votre_variable_scss
Plus d’informations ici :
Themes and theme components allow you to handle uploaded assets such as images and fonts. You can control what assets your theme accepts using the site setting: theme authorized extensions
Including assets in themes and components
For remote themes
Remote themes include:
Themes and components installed from the Popular list of themes
Themes and components installed using the From a git repository method
To upload assets to a remote theme or theme component, see Create and share a font theme …