How can I add labels in create topic form fields?

I want to add labels in create topic form fields is there any plugin available or any custom solution?

Do you mean a template so when a user creates a new topic, there are pre-filled options just like we have on marketplace?

Can you share a mockup or screenshot of where you want these fields?

1 Mi Piace

Not exactly sure what you mean, but if you want to change the placeholder text, you can do that in the admin Customization tab, under Text. Type the current placeholder of the field and you should be able to change it.

2 Mi Piace

Do you mean this?: Topic Template Placeholder Text theme component

1 Mi Piace

Attached is the design screenshot which i need to implement. My question was to add the labels with text field as shown in the design

1 Mi Piace

So you just want to add labels for each of the fields?

Only fields labels and some styling.

There are numerous approaches here, but consider, in order of preference:

The last option is risky, because this file will probably get a lot of updates over time (last update was 7 days ago!) and you don’t normally want to be overriding templates, especially those that frequently change, as you will mask stuff from core too much and break things.

Ciao!

Sono interessato a fare lo stesso. La modifica del CSS nel nostro tema della community è ancora il modo consigliato per raggiungere questo obiettivo? Lavoro con un nuovo sviluppatore front-end nel mio team che posso chiedere aiuto, ma non sono sicuro di dove posso indirizzarlo nel CSS del nostro tema per aiutarlo con questo.

IMHO, se vuoi solo etichette, allora sì, quel consiglio vale. Il CSS sarebbe la prima cosa da fare.

A scopo informativo, sarebbe stato bello se l’autore originale avesse condiviso la sua soluzione dopo aver ricevuto consigli dalla community, è bello quando le persone ricambiano.

3 Mi Piace