# Come posso aggiungere un messaggio al modal di login?

**URL:** <https://meta.discourse.org/t/how-can-i-add-a-message-to-the-login-modal/147956>\
**Category:** Support\
**Created:** [14 Aprile 2020, 1:11pm UTC](https://meta.discourse.org/t/how-can-i-add-a-message-to-the-login-modal/147956 "2020-04-14T13:11:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimase](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@rimase](https://meta.discourse.org/u/rimase)\
**Post date:** [14 Aprile 2020, 1:11pm UTC](https://meta.discourse.org/t/how-can-i-add-a-message-to-the-login-modal/147956/1 "2020-04-14T13:11:07Z")

</div>

Ciao! Vorrei poter aggiungere un messaggio permanente come nell’immagine allegata. Per favore, come potrei farlo? Grazie!

 ![Messaggio](https://global.discourse-cdn.com/meta/original/3X/4/4/44b2902a88212068e7538f21e679bed9793b340e.png)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [14 Aprile 2020, 9:15pm UTC](https://meta.discourse.org/t/how-can-i-add-a-message-to-the-login-modal/147956/2 "2020-04-14T21:15:21Z")

</div>

Il modo più semplice è una personalizzazione CSS, utilizzando l’opzione di inserimento del testo prima o dopo.

---

<div class="post-metadata">

**Author:** ![jordan.vidrine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan.vidrine/32/515563_2.png) [@jordan.vidrine](https://meta.discourse.org/u/jordan.vidrine)\
**Post date:** [14 Aprile 2020, 10:37pm UTC](https://meta.discourse.org/t/how-can-i-add-a-message-to-the-login-modal/147956/3 "2020-04-14T22:37:47Z")

</div>

Come ha menzionato Jeff, CSS è il modo più semplice. Ecco un esempio di cosa potresti aggiungere al file common.scss:

```scss
#login-form::before {
    content: "Il mio messaggio personalizzato";
    color: red;
}

```

Che produrrebbe questo risultato:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/8/483f908ef4219fec8d744bfc4a37606fe86adc06.png)

---

<div class="post-metadata">

**Author:** ![rimase](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@rimase](https://meta.discourse.org/u/rimase)\
**Post date:** [15 Aprile 2020, 5:57pm UTC](https://meta.discourse.org/t/how-can-i-add-a-message-to-the-login-modal/147956/4 "2020-04-15T17:57:42Z")

</div>

Grazie ragazzi! Era proprio quello che mi serviva.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [15 Maggio 2020, 5:57pm UTC](https://meta.discourse.org/t/how-can-i-add-a-message-to-the-login-modal/147956/5 "2020-05-15T17:57:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
