How do I customize the before/after text with dynamic fields?

I have some basic text that I am using dynamic fields with ACF to fill in some info on some product pages. I have two things I’m trying to do that I can’t figure out:

1. I want to have the before/after text to be a different color than the dynamic text. For example, I want a line on my page to say, “LOT SIZE: 1 ACRE”. The dynamic field is the number 1. “LOT SIZE:” and “ACRE” are the before/after text. I want “LOT SIZE:” to be blue, and “1 ACRE” to be green. But when I edit style, it changes the whole line. Is there a way to do this?
2. Some of the listings on the website are 1 Acre, but others are 2 Acres or whatever. Is there a way to make it so it is plural when I need it plural, but singular when I need it singular?

EDIT: Oh, I guess I should clarify: I’m using Elementor Pro with theme builder on the Hello theme.

1 Comment


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer