Hi all,
I would love to get some help in changing the size of the images shown in the ‘Logo list’ in Impulse theme, I would like them smaller
Heres the code
{%- style -%}
.logo-bar--{{ section.id }} {
opacity: {{ section.settings.logo_opacity | divided_by: 100.0 }};
}
{%- endstyle -%}
{%- if section.settings.divider -%}{%- endif -%}
{%- if section.settings.title != blank -%}
## {{ section.settings.title | escape }}
{%- endif -%}
{%- if section.blocks.size > 0 -%}
{%- for block in section.blocks -%}
{%- if block.settings.link != blank -%}
{%- endif -%}
{%- if block.settings.image != blank -%}
{%- assign img_url = block.settings.image | img_url: '1x1' | replace: '_1x1.', '_{width}x.' -%}
{%- else -%}
{{ 'logo' | placeholder_svg_tag: 'placeholder-svg' }}
{%- endif -%}
{%- if block.settings.link != blank -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- if section.settings.divider -%}
{%- endif -%}
{% schema %}
{
"name": "t:sections.logo-list.name",
"class": "index-section",
"max_blocks": 12,
"settings": [
{
"type": "text",
"id": "title",
"label": "t:sections.logo-list.settings.title.label"
},
{
"type": "range",
"id": "logo_opacity",
"label": "t:sections.logo-list.settings.logo_opacity.label",
"default": 76,
"min": 0,
"max": 100,
"step": 2,
"unit": "%"
},
{
"type": "checkbox",
"id": "divider",
"label": "t:sections.logo-list.settings.divider.label",
"default": false
}
],
"blocks": [
{
"type": "logo_image",
"name": "t:sections.logo-list.blocks.logo.name",
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "t:sections.logo-list.blocks.logo.settings.image.label"
},
{
"type": "url",
"id": "link",
"label": "t:sections.logo-list.blocks.logo.settings.link.label",
"info": "t:sections.logo-list.blocks.logo.settings.link.info"
}
]
}
],
"presets": [
{
"name": "t:sections.logo-list.presets.logo_list.name",
"blocks": [
{
"type": "logo_image"
},
{
"type": "logo_image"
},
{
"type": "logo_image"
},
{
"type": "logo_image"
}
]
}
]
}
{% endschema %}
Is there a way to make all the rows fit?
My current theme´s logo bar works as a slider, see bellow the swipe button, can i do that with coding in impulse?
if so, instead of making them smaller, I would just like to include a swipe button




