The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Commentfield wrong ...
 
Share:
Notifications
Clear all

[Solved] Commentfield wrong color and unreadable

8 Posts
2 Users
0 Reactions
151 Views
Posts: 30
Topic starter
(@joslammers)
Eminent Member
Joined: 4 weeks ago

Hi Forum,

Still struggling with the behavior of the commentfield. Textcolor is set to black, background is white. Because of trouble with unwanted switching of the textcolor from black to white, I deactivated Litespeed cache. Now on PC it seems fine, but on mobile screens this is the situation of the commentfield:

- Placeholdertext has switched from italic to straight font. That's fine with me, but just to describe the setting.

- When clicking on the commentfield, placeholder does not go away as it is supposed to do.

- When writing, the text is in white on a white background so the user cannot see what he is doing.

This being the situation, I cannot use the plug in since visitors that want to leave a comment simply don't see their own typing. So if you could please help me with this, I'd be very gratefull. To see what I mean, you will have to visit the website on a mobile phone.

Thanks for helping out!

7 Replies
Posts: 30
Topic starter
(@joslammers)
Eminent Member
Joined: 4 weeks ago

In addition: for a similar problem with the namefield of the form, I use this CSS:

#wpdcom input.wc_name {

    color: #000 !important;

}

Is it possible to force the commentfield to have text in black in a similar way?

Jos

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8043

@joslammers 

Please try this code: 

#wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt textarea {
  color: #000 !important;
}

Please try in incognito mode if you're checking on mobile devices. Because mobile browsers have a hard cache, you'll not be able to see the change immediately.

Reply
Posts: 30
Topic starter
(@joslammers)
Eminent Member
Joined: 4 weeks ago

So far no luck... here are screenshots of PC and mobile:

httpswww.joslammers.nl20250619spelleider on PC   inputtext is black
httpswww.joslammers.nl20250619spelleider on mobile   inputtext is white

Typed text on PC is black, on mobile white and thus invisible...

 

Jos

 

Reply
Posts: 30
Topic starter
(@joslammers)
Eminent Member
Joined: 4 weeks ago

Additionally: wordpress cache cleared manually, Litespeed cache deactivated...

Reply
Posts: 30
Topic starter
(@joslammers)
Eminent Member
Joined: 4 weeks ago

Maybe I was too quick checking. I see now that the straight font instead of italic stayed, the placeholder doesn't move at first touch either, but the commenttext is in black! That was the most important...

Is it save to turn Litespeed cache back on after this solution?

Jos

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8043

@joslammers 

Add this one as well: 

#wpdcom textarea::placeholder{
   font-style: italic;
}

The code will change the front for placeholder to italic.

Yes, you can enable the plugin again.

Alternatively, instead of disabling the entire plugin, you can simply exclude the wpDiscuz plugin from LiteSpeed Cache settings.

Reply
Posts: 30
Topic starter
(@joslammers)
Eminent Member
Joined: 4 weeks ago

Perfect! Thanks a lot for helping out!

Jos

Reply
Share: