Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #22155

    Hi, thanks for this great theme and now I am setting up the site with the help of the demo xml, one question I have is: when I create a text block, there would always some extra codes added to the one that I needs, for example, in the codes below, I only need the 2nd line, while the 1st and 3rd are appended automatically everytime after I delete them manually, how to solve? thanks!

    <p> </p>

    <h2>75M SUPPLY VESSEL</h2>

    <p> </p>

    Also I want to disable the foot widget, how to do that?

    #114412

    Hey! are the p tags added to the front end or to the backend editor?

    If its the front end, mind sending us a link to your site?

    If you want to change the current footer widgets you can simply add new ones to the footer widget areas and they will replace the dummy widgets. If you completely want to remove those widgets you would need to edit the footer.php file and remove line 21-51

    #114413

    Hi, thanks and it is in the backend editor.

    #114414

    Please try following – open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodestextblock.php and replace following line:

    $params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(wpautop(trim($params['content'])))."</div>";

    with:

    $params['innerHtml'] = "<div class='avia_textblock avia_textblock_style' data-update_with='content'>".stripslashes(trim($params['content']))."</div>";

    I’ll ask Kriesi to include this change in the next update if it works for you.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘text block problem’ is closed to new replies.