Come thrive with the Hiiv | beehiiv Community Icon

Fixing Unformatted HTML Snippet in Posts: Tips and Solutions

·
·

I have an html snippet with text in it but none of the styling (either default or custom) is coming through in the post. i.e. h2's, links, bullets, etc, all just look like unformatted text. Any tips?

  • Avatar of Chris T.
    Chris T.
    ·
    ·

    Inline css seems to work. Is that the only option?

  • Avatar of Joël C.
    Joël C.
    ·
    ·

    You have a <style> section in your HTML? That's how you need to style your embed. It won't inherit your beehiiv settings.

  • Avatar of Johrten
    Johrten
    ·
    ·

    Joël C. My understanding is that <style> tags are stripped out

  • Avatar of Johrten
    Johrten
    ·
    ·
    • Some elements such as <script> and <style> elements will not be saved, but most basic HTML elements are supported.

    https://www.beehiiv.com/support/article/4413248700439-using-html-in-beehiiv-posts

  • Avatar of Joël C.
    Joël C.
    ·
    ·

    Try it... My style - scripts work just fine.

  • Avatar of Johrten
    Johrten
    ·
    ·

    Have you always had it? I wonder if it's a beta feature that some have and some don't

  • Avatar of Joël C.
    Joël C.
    ·
    ·

    You're talking about the new builder I embed blocks right?

  • Avatar of Johrten
    Johrten
    ·
    ·

    Oh I was in email land, I wasn't thinking of the website builder 😅

  • Avatar of Joël C.
    Joël C.
    ·
    ·

    Ooohh. We've been having different discussions 😂 so sorry.