Johani
(Joe)
Décembre 7, 2020, 10:50
97
Jetez un coup d’œil ici :
For quite a while, best practice has been to avoid editing themes installed from a remote Git repository locally on Discourse. Any changes to theme code or uploads get wiped out when updating the theme from the remote repo.
In this commit, we’ve removed the ability to locally edit a remote theme and are now enforcing this best practice in Discourse.
What happens if I have a remote theme with local changes?
Nothing at this point. Your theme stays as is until you remove it or update it from re…
Vous n’avez jamais eu besoin d’éditer le CSS du thème pour les publicités internes. Vous devriez créer un nouveau composant de thème avec votre CSS et l’ajouter au thème.
House Ad Templates
This guide provides templates for creating house ads using the Official Discourse Ad Plugin .
Important: Disable ad blockers (including those built in to browsers, e.g. Brave) before working with these ad customizations.
Before You Start
Create a “House Ads” theme component to store:
CSS for your house ads
Uploaded images used in ads
Add the component to all active themes where ads will appear
Optimize images using TinyPNG to reduce file size while maintain…
C’est une amélioration potentielle
Pourriez-vous s’il vous plaît me dire où vous rencontrez ce problème ?
3 « J'aime »