Home Forums Theone WordPress Theme HTML in devider (pagebuilder)

This topic contains 4 replies, has 2 voices, and was last updated by  BWSM 3 years, 6 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5564

    desertdog_nl
    Participant

    Although the helptext next to the title field in the divider says “Enter the text you want to show in the divider, HTML: <span class=heighlight>Heighlight Text</span>”, when using html this is shown as text in the frontend.

    I want to add a class to a part of my divider text, how can this be done?

    • This topic was modified 3 years, 6 months ago by  desertdog_nl.
    #5566

    BWSM
    Keymaster

    Hi,

    You can add your class. Please define style (color, font..) of the new class in Custom Css box.

    Best, Bwsm

    • This reply was modified 3 years, 6 months ago by  BWSM.
    #5570

    desertdog_nl
    Participant

    The problem is that everything that is typed into the title field comes up as text. So when adding html tags they get converted to text and show. I need them to stay html so I can add a class

    This is in the peg builder, divider

    #5571

    desertdog_nl
    Participant

    I mean the title field in the divider module in the page builder. I says you can add html but when I do the code shows up as title text in the front end

    #5572

    BWSM
    Keymaster

    Sorry, The quick fix:
    – login FTP, find and edit /functions/pagebuilder/modules/divider.php
    – find and remove line 22:
    $text = esc_attr($text);

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.