Skip to main content
Answered

Typeform Embedded HTML Styling on Wordpress

  • May 2, 2024 11:50 PM UTC
  • 3 replies
  • 334 views

Hi! 

I need to style my Button for my Embedded Typeform Pop Up on my wordpress website. 

I had someone code my other pop-up embedded typeform and their html looks like this:

<button data-tf-popup="mC5JlXSt" data-tf-opacity="100" data-tf-size="70" data-tf-iframe-props="title=Client Form" data-tf-auto-close data-tf-transitive-search-params data-tf-medium="snippet" data-tf hidden="utm_source=,utm_medium=,utm_campaign=,utm_term=,utm_content=" class="popup_button custom_button_size fusion-button" style="color: #707070; font-size: 26px; cursor: pointer; padding: 13px 26px; width: 235px;" >Get Started<i class="fa-arrow-right fas button-icon-right" aria-hidden="true"></i></button><script src="//embed.typeform.com/next/embed.js"></script>

 

However, I can’t see to understand where to add my embedded Typeform code, which is:

<div data-tf-live= **** ></div><script src="//embed.typeform.com/next/embed.js"></script>

 

So, I’ve tried and coded this: 

<button data-tf-live=" **** " data-tf-opacity="100" data-tf-size="70" data-tf-iframe-props="title=BrowLift Form" data-tf-auto-close data-tf-transitive-search-params data-tf-medium="snippet" data-tf hidden="utm_source=,utm_medium=,utm_campaign=,utm_term=,utm_content=" class="popup_button custom_button_size fusion-button" style="color: #707070; font-size: 26px; cursor: pointer; padding: 13px 26px; width: 235px;" >Get Started<i class="fa-arrow-right fas button-icon-right" aria-hidden="true"></i></button><script src="//embed.typeform.com/next/embed.js"></script>

 

However, my button is not working… 

Can anyone help me trouble shoot that? 

 

Thank you 

Best answer by Liz

Hi @ÉliB Thanks for stopping by the community. We updated our embed code to the live embed, so you will need to base the button coding on the new embed code. 
 

If possible, I’d suggest sending them the Embed SDK to work off of!

View original

3 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Answer
  • May 3, 2024 4:24 PM UTC

Hi @ÉliB Thanks for stopping by the community. We updated our embed code to the live embed, so you will need to base the button coding on the new embed code. 
 

If possible, I’d suggest sending them the Embed SDK to work off of!


  • Navigating the Land
  • Aug 25, 2026 12:19 PM UTC
 

Hi @ÉliB Thanks for stopping by the community. We updated our embed code to the live embed, so you will need to base the button coding on the new embed code. 
 

If possible, I’d suggest sending them the Embed SDK to work off of!

The issue here seems to be the change from Typeform’s older embed approach to the newer live embed code. Simply replacing data-tf-popup with data-tf-live inside the existing button structure may not work as expected. Following the current Embed SDK approach should make the integration much easier to troubleshoot, especially when you need custom button styling on WordPress.


  • Navigating the Land
  • Nov 25, 2026 4:32 PM UTC

I've run into similar issues when trying to customize embedded elements on WordPress. Sometimes the HTML looks perfectly fine, and the button even appears correctly on the page, but the actual functionality doesn't work as expected. I think the important thing here is to use the current embed method rather than simply replacing an old attribute with a new one. Typeform's Embed SDK seems like a better starting point, especially when you want to control the button's appearance while keeping the popup functionality working properly.

I'd also recommend testing the embed on a staging page before adding it to the main website. That makes it easier to identify conflicts with WordPress themes, page builders, or other scripts. Keeping the embed code clean and avoiding multiple copies of the same script can also make troubleshooting easier.

Customizing buttons, fonts, and other visual elements is a small but important part of making a website feel consistent. Even something as simple as choosing the right text style can improve the overall appearance of a page. For anyone working on profile or text customization, I also find tools like https://stylishnamet.com/ interesting for experimenting with different text styles and Unicode characters.