CSS ::before selector

Comments

4 comments

  • Avatar
    Nils Bier

    Hi Michal,

    Thanks for contacting us.

    Have you already tried to use the old CSS2 selector (see https://developer.mozilla.org/en/docs/Web/CSS/::before)?

    Our current library does not support all CSS3 selectors.

    Best,Nils

    0
    Comment actions Permalink
  • Avatar
    Michal Gregor

    The old CSS2 selector does not work too.

     

    Michal

    0
    Comment actions Permalink
  • Avatar
    Mateusz Kaminski

    Hi,

    is there any update in this? I would like to use ::before in PDF template for H1, H2 tags.

    BR

    Matt

    0
    Comment actions Permalink
  • Avatar
    Thomas Rough (K15t)

    Hi Matt,

    Thanks for the post.

    If you have/are using a user macro that generates CSS you would need to ensure it targets a different element than our own style and then this should be preserved.

    Alternatively, if you are targeting the same element as our own style you would need to make sure that you have configured it to be more specific to prevent it being overridden by our style in the export. 

    Let me know if this helps.

    Thanks, Thomas (K15t)

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk