Display 4 Text columns with images in one row [Debut Theme]

Highlighted
New Member
3 0 2

Hello,
I want to put 4 columns in one row because when i got >3 they split in two different rows. 

Thanks for help :)

0 Likes
Highlighted
New Member
3 0 2

I got it :D 
need to change in feature-column.liquid

{% when 4 %}
        {%- assign grid_item_width = 'medium-up--one-half' -%}
        {%- assign image_size = '530x' -%}

in 

{% when 4 %}
        {%- assign grid_item_width = 'medium-up--one-quarter' -%}
        {%- assign image_size = '530x' -%}

2 Likes
Highlighted
New Member
1 0 0

Thanks 

0 Likes
Highlighted
New Member
1 0 0

Thank you so much for posting the code change here! Just used it, works perfectly :-)

0 Likes
Highlighted
Tourist
6 0 1

Hello,
I want to put 5 columns in one row because when I got >4 they split in two different rows. 

Actually the Default number in the Debut Theme is 3 columns in 1 row but I made it 4 columns in one row by changing the coding in feature-column.liquid as follows:

{% when 4 %}
        {%- assign grid_item_width = 'medium-up--one-half' -%}
        {%- assign image_size = '530x' -%}

in 

{% when 4 %}
        {%- assign grid_item_width = 'medium-up--one-quarter' -%}
        {%- assign image_size = '530x' -%}

Unfortunately I can’t figure out how to put 5 columns in 1 row.


Thanks for help

0 Likes
Highlighted
New Member
5 0 0

Hi @islnd 

0 Likes