# Help with Embedded HTML & CSS with new CTAs

**URL:** <https://community.hubspot.com/t/help-with-embedded-html-css-with-new-ctas/94009>\
**Category:** CMS Development\
**Tags:** professional\
**Created:** [November 14, 2023, 6:39pm UTC](https://community.hubspot.com/t/help-with-embedded-html-css-with-new-ctas/94009 "2023-11-14T18:39:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmoore](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rmoore/32/77060_2.png) [@rmoore](https://community.hubspot.com/u/rmoore)\
**Post date:** [November 14, 2023, 6:39pm UTC](https://community.hubspot.com/t/help-with-embedded-html-css-with-new-ctas/94009/1 "2023-11-14T18:39:08Z")

</div>

Hi. I saw a recent post in a forum announcing the launch of embedded HTML for CTAs. This is exactly what we need!I’m running into an issue that I wanted to see if anyone could assist with. The theme I have already has CTA button styling I’d love to mimic. However when I put these classes into the custom CSS classes field, nothing changes. I’m sure I’m doing something wrong (my skills aren’t where I want them to be  
 ![rmoore_0-1699987061166.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/0/0c58a4c97f13ccb6dd4cb998082d84514fc88c0e.png)  
.)  
**Would someone be able to point me in the right direction to style CTAs I create with CSS styles already in my theme? The documentation I’ve reviewed doesn’t go in depth with this. Thanks in advance!**

 ![Screenshot 2023-11-14 at 10.53.59 AM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/c/acded08513a1be909ed43a075b417aa19694d771.png)

).Would someone be able to point me in the right direction to style CTAs I create with CSS styles already in my theme? The documentation I’ve reviewed doesn’t go in depth with this. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![paradummy](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paradummy](https://community.hubspot.com/u/paradummy)\
**Post date:** [November 15, 2023, 10:07am UTC](https://community.hubspot.com/t/help-with-embedded-html-css-with-new-ctas/94009/2 "2023-11-15T10:07:27Z")

</div>

Hi @rmoore  
In the field “Custom CSS Classes” you have to enter the classes as you would in html (remove the . and ,). For the correct classes, you need to check which are used in your theme for the CTA / buttons. Try it with that (based on your screenshot):

`btn hs-button`

The middle selector “.btn-cta a” is nested (an “a” tag within any tag with the class “btn-cta”). If your css code relies on that nesting, you would need to manipulate the module where your cta is used and place it inside a div/span with the class “btn-cta”.

---

<div class="post-metadata">

**Author:** ![rmoore](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rmoore/32/77060_2.png) [@rmoore](https://community.hubspot.com/u/rmoore)\
**Post date:** [November 15, 2023, 2:36pm UTC](https://community.hubspot.com/t/help-with-embedded-html-css-with-new-ctas/94009/3 "2023-11-15T14:36:39Z")

</div>

This was a huge help, thank you!
