Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1160235

    Hi, is there any solution to remove the extra space at the beggining of the first line with a block code element ?
    ie:
    This
    And I want
    This

    Thanks

    • This topic was modified 4 years, 12 months ago by olasne.
    #1160376

    Hey olasne,

    Could not reproduce the same on my end.
    Can you give us a link to the page? so we can try to inspect the code element.

    Best regards,
    Nikko

    #1160396
    This reply has been marked as private.
    #1160549

    Hi,

    In wp-content > themes > enfold > config-templatebuilder > avia-shortcodes > codeblock.php, please try to modify this code (line 204):

    $content = ' [avia_codeblock_placeholder uid="' . avia_sc_codeblock::$codeblock_id . '"] ';

    replace it with:

    $content = '[avia_codeblock_placeholder uid="' . avia_sc_codeblock::$codeblock_id . '"] ';

    Hope it helps.

    Best regards,
    Nikko

    #1160578

    Great it works !
    Could you correct for next versions ?

    Many thanks

    #1160753

    Hi olasne,

    Glad we could help :)

    I forwarded it to our dev.

    If you need further assistance please let us know.

    Best regards,
    Victoria

    • This reply was modified 4 years, 12 months ago by Victoria.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.