Support » Plugin: MailPoet - emails and newsletters in WordPress » Applying styling for custom shortcodes

  • Resolved Brian Hogg



    I’ve created a custom shortcode for Event Calendar Newsletter as per this tutorial:

    It works great to output the content, but the problem is many email clients will switch to whatever their default font is (ie. Roboto on gmail, Times New Roman on some others). I’m not seeing any way to have the inline font-family styles added to the content within the shortcode. Is there any way to see what the font of the container is, or some other way to have the font styles applied?


Viewing 1 replies (of 1 total)
  • Plugin Author MailPoet


    Hi Brian,

    The font of the newsletter set in the “styles” section of the designer should be taken and then if that font isn’t available for any reason it’ll fall back to the email clients default font.

    However, are you seeing two different fonts entirely? One font for your custom shortcode and one font for the rest of the newsletter?

    Let us know.


Viewing 1 replies (of 1 total)
  • The topic ‘Applying styling for custom shortcodes’ is closed to new replies.