Home Forums Front-end Issues Append Inline SVG to Menu item Reply To: Append Inline SVG to Menu item

  • Yes, in my first piece of code I was wrapping the output svg with <svg> tags, but I’ve since changed it because I’m utilizing the svg plugin with ACF image fields, which outputs correctly. That’s why I said disregard the <img> tags. Even if I take these <img> tags out the acf field still appends outside of the <div> wrappers.

    In the screenshot what your seeing is the hardcoded svg output between the div wrappers and the acf text field svg gets bumped outside of those. The <span> tag is wrapping the text of the <a> tag.

    screenshot output with graphic callouts