How do I change the color of a paragraph field in a view?

By: Tom Chandler | Asked: 09/28/2022
ForumsCategory: How-toHow do I change the color of a paragraph field in a view?
Tom ChandlerTom Chandler asked 2 years ago
I have a view that shows the results of a class evaluation survey. You can see the results on this web page.
There you will see a question in gray, and the user's answer in green via a span tag.
However, when the answer is stored in a paragraph field, the text stays gray.
How can I turn it green?
1 Answers
Bobby Clapp answered 2 years ago

There is some data that isn't being styled the same. I'm guessing you've designed this view so you'll have to adapt the correction.

You might try [x wpautop=0] for your paragraph fields or maybe even [x striphtml=1]

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right