Inserting CSS into a Custom HTML Block

  • Unknown's avatar

    Hopefully the tags in this render correctly since they are not apparently allowed…

    I have lots of experience with HTML and CSS and so I want to style my <dt> tags to be bolder than my <dd> tags in definition lists.

    So I added:

    <style>
    .big-dt{font-size:120%;font-weight:bold; padding-top:1em;}.big-dd{font-size:110%;}.big-dd b,dl dt{font-weight:600;}
    </style>

    To my custom HTML block yet it keeps rendering as text on the page (the <style> tags end up invisible (actually removed) but the style rules themselves end up showing up on the page as if they are paragraph text.

    I assume from the “upgrade” call to action for “Additional CSS” that this is a feature that is unavailable to user that aren’t haven’t upgraded, is this correct?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hello, yes you are right.
    You need to upgrade your plan to at least premium to be able to add custom CSS.
    That said, you cannot use the HTML block to style parts of your blog/website even after upgrading your plan.

  • The topic ‘Inserting CSS into a Custom HTML Block’ is closed to new replies.