Skip to main content

code snippet broken

Comments

3 comments

  • Alex

    Hi,

    The text element was never intended to use shortcodes. That's what the "Shortcode" element is for. We are constantly working on the text element and now you can no longer use the shortcode there for security reasons. You will need to adjust the colors with CSS. In fact, with 3 rows of CSS you can solve this, so it might take you less time even if you edit it manually in the element settings))

    0
  • Théophile Bellintani

    Hi Alex, thanks for you answer.

    Yes, I can do that with css. But you will agree that it is easiest to paste a shortcode in a text element, and automatically, style is applied on that shortcode, rather than add a shortcode element, and add each time several rows of CSS.

    For exemple, to recreate the same style than my text element in the example above, I have to write all that lines :

    element {
      color : #bd1e51;
    text-align: left;
    font-family: Comfortaa, display !important;
    font-size: 18px;
    line-height: 1.9;
      font-weight: 400;
    letter-spacing: 0px;
    }

    I understand that you have to do this for security reasons, but it really synonym of a waste of time for me.

    Thanks for your work anyway.

    0
  • Alex

    Hey, you can find a specific CSS class that this shortcode creates and add that code once instead of using "element" on each page and each element.

    0

Please sign in to leave a comment.