How to we customize / where, the Welcome message at the top that people can CLick so it goes away.
I would like, when people come to the discourse forum for for the 1st time and are not logged or registered, to have some message displayed at the top
Customizing the Welcome Message
jfbourdeau wants to customize the welcome message at the top of their Discourse forum that appears to unregistered users. ondrej suggests using a banner topic, which can be removed by users. However, jfbourdeau is concerned that users would need to navigate to a category to see the message.
dax provides an alternative solution by creating a global banner using a customizable template, such as the one found in this tutorial. To create a banner, admins can use the wrench icon, which may appear at the top right or at the end of a topic, depending on the length of the topic.
dax clarifies that admins can create a topic within a category (or the Uncategorized category) and make it a banner post. This message will be visible to both anonymous and registered users. To display the banner only to anonymous users, admins can add custom CSS code.
jfbourdeau confirms that the solution worked and thanks dax for their help and patience.
How to we customize / where, the Welcome message at the top that people can CLick so it goes away.
I would like, when people come to the discourse forum for for the 1st time and are not logged or registered, to have some message displayed at the top
Perhaps a banner topic may help? Users can remove those. It is visible to users not logged in or registered too
You too can create a global banner in this way:
or using the Versatile Banner which is extremely customizable!
Is it possible I do not see, have the admin wrench on the top right ?
I do have the hamburger menu with the admin though…
TKs " a lot " for your help and patience
Are you saying as an admin, I create a " TOPIC" withiin one of the actual CATEGORY and make it a banner post ?
And anonymous people logging to the site would see that message ??
I am now lost
Yes, even if it is not mandatory to use the categories, you can use the Uncategorized “category” (if you have not disabled it from site settings) - which is not a real category - as is done for the Welcome topic that you find in every Discourse installation.
Anons and normal users can see (and dismiss) the banner. If you want to display it ONLY to anon you need to add a few lines of CSS to your main theme(s)
#banner {
display: none;
}
.anon #banner {
display: block;
}
Tks !!! It worked
Have a good day