Skip to main content
Solved

Email Pop Up custom font


Forum|alt.badge.img+1

Hi everyone,

I’ve created an email pop-up for my website, where I’ve set a custom font for the title and a different custom font for the body text. Everything looks fine in the editor, but when I check it live on the site, the body text appears with the same font as the title instead of the one I assigned.

Does anyone know how to fix this issue? Any advice would be greatly appreciated!

Best answer by emma.owens

Hi ​@Bozu ! Thank you for reaching out to the Community. 

It appears that there is some CSS on your site that is conflicting with the font in your form. I have gone onto your site and identified the following CSS that when unchecked, fixes the ‘Title’ font: 

I hope this helps! 

View original
Did this topic or the replies in the thread help you find an answer to your question?

zacfromson
Problem Solver IV
Forum|alt.badge.img+7
  • 2025 Champion
  • March 20, 2025

Hi there! Thanks for your question, hopefully I can help. With the context I have, here are some possible solutions:

 

1. Font Not Properly Assigned in the Custom Styles

  • Ensure that your body text and title have explicit font-family assignments in your custom CSS.
  • Example:

.popup-title {
  font-family: 'CustomFontTitle', sans-serif !important;
}
.popup-body {
  font-family: 'CustomFontBody', sans-serif !important;
}

 

2. Font Not Loading Due to External Hosting Issues

  • If you are using a custom web font, make sure it’s properly loaded in your Klaviyo form.
  • Example:

@import url('https://fonts.googleapis.com/css2?family=YourCustomFont:wght@400;700&display=swap');

 

3. Issue from the Parent Theme

  • If your website’s main CSS is overriding Klaviyo’s styling, you may need to use !important on your font styles.
  • Example:

.popup-body {
  font-family: 'YourFont', sans-serif !important;
}

 

4. Klaviyo Form Editor Styling Not Applying

  • If changes appear fine in the editor but not on the live site:
    • Clear the cache.
    • Check if Klaviyo’s custom styling is enabled.
    • Ensure no conflicting styles override the assigned font.

 

5. Check Your Custom Code Block

  • If you’re using a Custom HTML & CSS block within Klaviyo, double-check that the styles are correctly applied.

If you want to send me your settings or code, I can help further if these steps do not resolve the issue. 


emma.owens
Community Manager
Forum|alt.badge.img+17
  • Community Manager
  • March 20, 2025

Hi ​@Bozu ! Thank you for reaching out to the Community. 

It appears that there is some CSS on your site that is conflicting with the font in your form. I have gone onto your site and identified the following CSS that when unchecked, fixes the ‘Title’ font: 

I hope this helps! 


Forum|alt.badge.img+1
  • Contributor I
  • March 21, 2025

 

Hi ​ ​@emma.owens

Thank you so much!

I figured that might be the case — but how can I avoid it?
Even when I try using Helvetica, everything still gets overridden by the custom font.

Is there something I need to edit in the CSS within Klaviyo?

 


Forum|alt.badge.img+1
  • Contributor I
  • March 21, 2025

Thank ​@zacfromson!

Honestly, I’m not sure how to move forward — I believe the custom font is set up correctly, but I’m not sure how to apply your suggestion.

Is there something I need to edit in the CSS within Klaviyo?


zacfromson
Problem Solver IV
Forum|alt.badge.img+7
  • 2025 Champion
  • March 24, 2025

@Bozu Can you please share the settings or code you have so I can review it? 


Forum|alt.badge.img+1
  • Contributor I
  • March 24, 2025

@zacfromson 

do mean on klaviyo? the code that I have to add the custom font is on shopify


zacfromson
Problem Solver IV
Forum|alt.badge.img+7
  • 2025 Champion
  • March 24, 2025

@Bozu - Both would be great so I can review everything to help troubleshoot the issue! 


Forum|alt.badge.img+1
  • Contributor I
  • March 26, 2025

@zacfromson I already have those. Honestly, I just want better control over the font in Klaviyo. Everything looks fine in the preview, but it doesn’t render correctly on the website.

 



Thank you 


Forum|alt.badge.img+1
  • Contributor I
  • March 31, 2025

hi ​@zacfromson, did you have time to check that? 

thank you so much in advance 


Reply