En-tête de la marque

:discourse2: Résumé Brand Header ajoute un en-tête supérieur supplémentaire pour l’identité visuelle avec votre logo, des liens de navigation et des icônes sociales, tant pour les vues mobiles que de bureau. Le logo de la marque peut être une image ou du texte.
:eyeglasses: Aperçu Aperçu sur Discourse Theme Creator
:hammer_and_wrench: Lien du dépôt https://github.com/discourse/discourse-brand-header
:open_book: Nouveau sur les thèmes Discourse ? Guide pour débutants sur l’utilisation des thèmes Discourse

Installer ce composant de thème

Fonctionnalités

Aperçu bureau :

Aperçu mobile :

Paramètres

Nom Description
nom de la marque
URL du site web
URL du logo mobile
liens Liens textuels à afficher dans l’en-tête
icônes Liens d’icônes à afficher dans l’en-tête
icônes personnalisées Font Awesome Liste des icônes FontAwesome 6 utilisées dans ce composant de thème
afficher la barre sur mobile
point d’accès au plugin

Utilisation des icônes Font Awesome 6

Pour permettre aux icônes Font Awesome 6 de s’afficher correctement dans ce composant de thème, vous devez les ajouter à 3 endroits dans Discourse :

  1. Le paramètre du site sous-ensemble d'icônes svg
  2. Le paramètre icônes personnalisées Font Awesome dans le composant
  3. Le paramètre icônes dans le composant

De plus, pour certaines icônes Font Awesome 6, vous devrez spécifier un préfixe fa ou fab avec le nom de l’icône (par exemple : “fab-bluesky”), car certaines icônes font partie d’un sous-ensemble spécifique d’icônes. Consultez Nous mettons à jour nos icônes vers Font Awesome 6 ! pour plus de détails sur cette utilisation.

Une fois ces icônes ajoutées aux trois endroits, vous devriez les voir s’afficher correctement dans le composant de thème Brand Header.

:discourse2: Hébergé par nous ? Les composants de thème sont disponibles pour une utilisation sur nos offres Standard, Business et Entreprise.

87 « J'aime »
Is there a setting to add Facebook, twitter , Instagram profile links?
Beginner's guide to using Discourse Themes
Reuse Discourse Hamburger Functionality
Introducing Font Awesome 5 and SVG icons
WordPress in a Discourse iFrame?
How to use brand header html in my WordPress site
Can I add a icon and link back to my homesite at the top bar
Login with federated social networks
Customise home login page
How to put a backlink to our company website above the top-menu in discourse?
How to finely scroll out custom header?
How to create additional header?
🌅 Introducing Horizon, our newest theme
Customize Your Site Branding
How to embed Discourse in Wordpress?
Need to create good-looking front page with Discourse login option
How I can add a custom header
Horizon interaction with Brand Header
Customizing your site with existing theme components
Quick access to bookmarks and messages on user menu
How to add a directory of people/businesses to my theme?
Air Theme
How to create custom theme component?
Custom website header with forum
How do the Links and Icons settings work?
Adding header in theme messes up topic progress bar (when docked)
Structuring a multilingual community
Brand Header breaks chat reply box on mobile (iOS)
Help needed with theming and logo
Insert Link to External Website
Are these possible only with a custom theme?
Horizon Theme
Dropdown links in existing Header
How do I move an image/banner to the VERY top of the page?
Combining Brand Header and Header Submenus Plugins
How to add top menu bar like try.discourse.org
Brand header theme component breaks page layout on static and no_ember pages
Brand header theme component breaks page layout on static and no_ember pages
TypeError: Discourse._registerPluginCode is not a function
DiscoTOC & Brand Header - using together
Structuring a multilingual community
Display name of forum
How to make your side have a side-bar and external links
TavoWEB theme for Discourse
Why does the logo navigate to Discourse home not main site home
Customize the header with links, icons, or menus