Dynamic List adding between lines
-
I have an ACF field (Text Area) with a UL list markup copy. When this pulls into a paragraph element, it is adding extra <BR> between each line.
Markup example:
<ul><li>Some text</li> <li> More Text</li></ul>
If I remove the line breaks in the list
<ul><li>Some text</li><li>More Text</li></ul>
It removes the line breaks but also doesn’t add any space after each list item.
If pulled into a List item – it is giving me a nested list. OR without any markup, it only populates the first item and wraps the rest.
How can I pull a series of list items from an ACF field, and have some control over the styling between lines?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Dynamic List adding between lines’ is closed to new replies.