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

    Dear Enfold Team,

    I’ve set up a Website with the Enfold Theme.
    I customized ist so I can make a line break in the Blog Grid Layout.
    But in the the Archive Site it’s not working.
    Do you have any ideas?

    With best regards.

    • This topic was modified 6 years, 1 month ago by druckhoher.

    Hey druckhoher,

    The pages look identical to me. They both appear to have grid spaces. If you can screenshot exactly what you mean, we will look into this further.

    Best regards,
    Jordan Shannon


    Hey Jordan,

    I’d like to have the same layout on the archive site ( like on this side:
    The Grid Layout is perfect, but the line break in the excerpt is missing.
    I can’t find my mistake.

    with best regards.




    Thanks for the update. How are the line breaks enabled? Which files did you modify? You may need to modify the archive.php file and set the “contents” parameter of the avia_post_slider object manually.

    $atts   = array(
                                    'type' => 'grid',
                                    'items' => get_option('posts_per_page'),
                                    'columns' => 3,
                                    'class' => 'avia-builder-el-no-sibling',
                                    'paginate' => 'yes',
                                    'use_main_query_pagination' => 'yes',
                                    'custom_query' => array( 'post__in'=>$post_ids, 'post_type'=>get_post_types() )
                                $blog = new avia_post_slider($atts);

    Best regards,


    Hi Ismael,

    I just edited the functions.php file

    here is the code:

    function allow_excerpt_linebreak(){
    $(document).ready(function() {
        $(".entry-content").html(function(index, currentHtml) {
            return currentHtml.replace('String to replace', '</br> replaced String');
    add_action('wp_head', 'allow_excerpt_linebreak');

    Is there on the archive page a different class?
    I can’t find my mistake.



    Hi Markus,

    There is an error in JavaScript but on the grid page the script works and on the archive page it does not. The class is the same.

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.