I was provided a link code to embed on my website using the Custom CSS section. For some reason I get an unable to publish error message when hitting the “save” button. Attached are some of the items that appear above the CSS section. There are green and red sections of the text which I assume means correct and incorrect code?
Are you trying to put a URL in a CSS setting, it expects only direct CSS content.
CSS settings expect plain CSS.
A url/link to a file that has CSS in it is not plain CSS.
To create a link use a custom-liquid or custom-html section or block.
When “provided” something by some other third party unless they explicitly give the steps for usage with a specific shopify feature do not assume one thing goes into another.