• Resolved schlagerfiasko

    (@schlagerfiasko)


    Hey all

    So Kale’s front page ‘recent posts’ is configured for two columns of posts and a sidebar. Is there any way to change it to three columns of posts with no sidebar? Removing the sidebar is easy, but the theme has so far refused to insert a third row of a post in the sidebar space and I can’t see how to do it. The php code seems to lie in the feed.php:

    /*** Small: Small Image and Excerpt, 2 in a Row ***/
                    else if($kale_blog_feed_post_format == 'Small') {
                        if($kale_i%2 != 0) { $kale_div_open = 1; ?><div class="row"><?php } ?>
                        <div class="col-md-6"><?php $kale_entry = 'small'; include(locate_template('parts/entry.php')); $kale_i++; ?></div>
                        <?php if($kale_i%2 != 0) { ?></div><?php $kale_div_open = 0;} ?><?php 
                    }
                     $kale_flag = true;
Viewing 1 replies (of 1 total)
  • Hi there,

    Thank you for getting in touch with us.

    Only Kale Pro allows you to add three columns blog feed section. If you would like to do the same with Kale you need to remove <div class="row"></div> wrapper from the code above and add this css to Appearance → Customize → Additional CSS:

    .home .sidebar {
        display: none;
    }
    
    .home .main-column {
        width: 100%;
    }
    
    .home .main-column .blog-feed .col-md-6 {
        width: 33.33%;
    }

    Hope that helps.

    Kind regards

Viewing 1 replies (of 1 total)
  • The topic ‘Front page columns’ is closed to new replies.