Okay
  Public Ticket #3648116
Horizontal List Item HTML Code
Closed

Comments

  • Madr3n started the conversation

    Hi, the fields for the content for Horizontal List Items do allow for simple html elements, for example <br /> and when you save and check the page, it works.

    However when you re-open/edit the Horizontal List Item > settings the html code is stripped and you need to re-add this every time you make an edit. 

    Is it possible that the fields do not remove the html elements? As I really like using this element but I need to be able to add line breaks to show content more clear. Thanks in advance.

  •  8,939
    Tahir replied

    Hey Madr3n,

    From what I understand this is a Security feature that sanitizes html code via a WP filter. In order to remove it PHP level template edits would have to be made: https://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/ .

    We would suggest styling it using CSS to as much extent as possible since then it would be easier to maintain in the long run.

    Thanks.


    ThemeNectar Support Team