Hello,
s
Please can you add a new css class (.empty) for empty custom fields. I created a custom input text field called Disclaimer and styled it in blog posts but when this field is empty the css styles are still visible.See image for example
https://ibb.co/Zc6kw7d
https://ibb.co/JsBKzm0A way to differentiate the field would be:
(.empty) css class for empty fields so this can be hidden with (display:none)
(.filled) css class for custom fields with contentThanks
Hi Tosin,
Thank you for the suggestion. I am adding a new class to it. We are also release the next update with your other requirements(redirection and author change).Regards
BrajeshHi Tosin,
Had another thought.In case of empty, we are returning ”.
Your problem happened since the values for fields containing data did not contain wrapper and you had to use custom markup for that.
we will not add the markup to empty value(It helps detecting that the value is empty), Instead, we will mark all fields with data with consistent as well as field key specific class.
That should resolve it.
Regards
Brajesh
You must be logged in to reply to this topic.