WordPress.org

Ready to get started?Download WordPress

Forums

Shprink One
Column with (3 posts)

  1. AdiCumpanasu
    Member
    Posted 5 months ago #

    Hi!
    This is the greatest grid theme I found from almost 15 I tried, The most important is that it triggers the get new articles ajax at the right moment.

    I have an issue that the columns seem too wide a thing that would alter elegance and also makes fewer cells be visible vertically.

    I saw it uses masonry and I see the width of the columns can really be customized from flaty.bootswatch.min.css. But this does not change how many columns are set for a certain width.
    Where can i fine tune the number of columns?

  2. AdiCumpanasu
    Member
    Posted 4 months ago #

    The easiest way is to modify loop.php. Line 27 the Bootstrap grid sized are defined:
    post_class('col-sm-6 col-md-6 col-lg-4 box')

    If you want 4 column on large screen change to post_class('col-sm-6 col-md-6 col-lg-3 box').
    Thanks, Julien!

    But this makes more columns only on a width larger than 1024. In the rest of the cases the columns remain the same.
    What is the next fix?

  3. The easiest way is to modify loop.php.

    Don't do it that way, you will lose your changes when this theme is updated. Instead create and activate a child theme of Shprink One and edit a copy of loop.php in the child theme's directory.

    http://codex.wordpress.org/Child_Themes

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.