Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Style [Solved] Restricting the filling of CSS Input fields. ( disabled )

9 Posts
3 Users
5 Reactions
421 Views
ZiT3K
Posts: 92
Topic starter
(@zit3k)
Estimable Member
Joined: 4 years ago

Hi!

In the two fields below, how can I use CSS to make it visible, but not writeable?

Thank you in advance for your help!

 

8 Replies
Sofy
Posts: 5483
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi,

You can use the CSS codes below:

.wpf-field-name-user_nicename input {pointer-events: none;}
.wpf-field.wpf-field-type-tinymce.wpf-field-name-about {pointer-events: none;}

 

Reply
7 Replies
ZiT3K
(@zit3k)
Joined: 4 years ago

Estimable Member
Posts: 92

@sofy 

hello, thank you, but it doesn't work for the signature part, it doesn't work there yet, I can still rewrite that.

Reply
VereK
(@verek)
Joined: 8 years ago

Honorable Member
Posts: 522

@zit3k 

Try

#mceu_25 {pointer-events: none;}
Reply
ZiT3K
(@zit3k)
Joined: 4 years ago

Estimable Member
Posts: 92

@verek
Not good yet, unfortunately. :/

Reply
VereK
(@verek)
Joined: 8 years ago

Honorable Member
Posts: 522

@zit3k 

Are putting the CSS into the correct place?

Namely, Dashboard-wpForo-settings-colours & styles

And then flushing all caches including wpForo

Reply
ZiT3K
(@zit3k)
Joined: 4 years ago

Estimable Member
Posts: 92

@verek
yes, because the first part of the previous code, which refers to the nickname, works

Reply
VereK
(@verek)
Joined: 8 years ago

Honorable Member
Posts: 522

@zit3k 

I tested that CSS code here and on my dev site and worked to prevent any new input into the signature field so I am not sure why it's not working for you.

Reply
ZiT3K
(@zit3k)
Joined: 4 years ago

Estimable Member
Posts: 92

@verek 

I checked a little more, it works with the #mceu_26 ID.

Thanks for the help!

Reply