adamengst
(Adam C. Engst)
16 Luglio 2023, 8:43pm
1
Per i post occasionali sul nostro forum, vorrei creare un pulsante che, ad esempio, renda evidente cosa cliccare per iscriversi a una gara, registrarsi come volontario o donare per una campagna di raccolta fondi. Solo qualcosa che assomigli approssimativamente a uno di questi:
Se Discourse lo accettasse (cosa che non sembra fare), userei qualcosa di simile a questo codice.
<span style="display: inline-block; background-color: #7b38d8; padding: 20px; width: 200px; color: #ffffff; text-align: center;">
Button
</span>
C’è un modo per fare qualcosa di simile su base ad hoc, per singolo post?
Grazie!
1 Mi Piace
Funzionerebbe per te?
Pulsante!
[**Pulsante!**](google.com)
3 Mi Piace
adamengst
(Adam C. Engst)
16 Luglio 2023, 9:21pm
3
Grazie! È sicuramente sulla buona strada, anche se speravo in qualcosa che potessi modificare con CSS in modo che gli stili fossero familiari ai nostri utenti da altre cose che facciamo.
1 Mi Piace
In tal caso, credo che questo sia ciò di cui hai bisogno:
Introducing the amazing embedded button - the ultimate solution for spicing up your topic posts! With just a click, you can add a whole new dimension to your content and leave your readers in awe. Plus, our embedded button comes with a 100% satisfaction guarantee - if you’re not completely satisfied with its awesomeness, we’ll give you your money back (just kidding, it’s totally free)! So why wait? Get your hands on our embedded button today and join the cool kids’ club!
I have created some cal…
8 Mi Piace
adamengst
(Adam C. Engst)
16 Luglio 2023, 9:39pm
5
Era proprio quello che volevo, grazie! Posso continuare da qui…
2 Mi Piace
Canapin
(Coin-coin le Canapin)
18 Luglio 2023, 11:49am
6
C’è un intero tutorial su come personalizzare i post con contenuti personalizzati come i pulsanti:
Requirements
To be able to use these tips and tricks, you need to be an administrator of either a self-hosted Discourse instance or a Discourse-hosted plan higher than Basic.
Introduction
Discourse supports several methods to format and customize a post’s contents. You can find the list here:
But sometimes, you’ll want something more specific, for example, a link that looks like a button.
[Green button]
This is the kind of modification we’ll learn here.
The logic
I’l…
1 Mi Piace
adamengst
(Adam C. Engst)
18 Luglio 2023, 6:37pm
7
L’ho visto, grazie per averlo scritto!
Una domanda che è sorta: cosa succede con gli elementi personalizzati nelle notifiche via email?
Canapin
(Coin-coin le Canapin)
18 Luglio 2023, 7:06pm
8
Ottima domanda
Visualizzato come
Suppongo che l’HTML generato con i wrapper non porterà il proprio stile via email.
adamengst
(Adam C. Engst)
18 Luglio 2023, 7:22pm
9
Buono a sapersi, grazie. Si degrada bene, ma il testo dovrà fare attenzione a non riferirsi ad esso come un pulsante, per esempio.
1 Mi Piace
MikeNolan
(Mike Nolan)
18 Luglio 2023, 7:29pm
10
È possibile modificare il CSS su un sito ospitato da Discourse?
1 Mi Piace
Sul piano Standard e superiori. Creeresti un componente tema ed effettueresti le modifiche lì, quindi lo allegheresti ai tuoi temi.
2 Mi Piace
system
(system)
Chiuso
17 Agosto 2023, 7:32pm
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.