Support » Theme: Shprink One » Column with

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Column with’ is closed to new replies.