I'm trying to add a CTA that has an icon after the text in https://app.hubspot.com/ctas-beta/. I would like to do this by making use of ::after{} css functionality but this doesn't seem to work when I add it into the css builder, despite the fact I can use the same css on a website and it works fine.
You can also put the code in your stylesheet if you'd prefer. Since the CTA's page doesn't have the font awesome library loaded in, we just see a square, but see the correct icon on a live page since the Font Awesome reference has been loaded into the stylesheet I'm using on that page.
If you give me the CTA in particular that you're having trouble with, and the page you're trying to place it on I can certainly look into more detail for the specific issues you're having.
Hi, I tried adding the fontAwesome code into my LP [https://info.vayyar.com/protect-your-parents-more-ever] as you wrote but it doesn't seem to pull anything from fontAwesome. I want to add an icon after the 1-800 number in the CTA in the bottom.
I have the free kit in the page's HTML [top]
I added the following code to the 'advanced' section of the CTA editor:
a#cta_button_<id of the CTA>:after { content: "/f879"; font-family: fontAwesome; }