Somhow I am not able to add another button, is there any way around this?
I want to add 3-4 other buttons like “Events” or “workshop” etc
Hello @Ayesha92
To add additional buttons such as “Events” or “Workshop,” you will need to modify the image-banner.liquid file.
If you’re unable to modify the liquid code yourself, you can send me the image-banner.liquid file, and I can make the changes for you.
Thank You!
{% liquid
assign section_color = section.settings.color_scheme | default: ‘primary’
assign image_position_on_desktop = section.settings.image_position_on_desktop
assign sizes = sizes | append: ‘, (min-width: 989px) 75vw’
assign container_classes = ‘lg:grid lg:gap-x-grid-gutter lg:grid-cols-4 grid-flow-dense’
if image_position_on_desktop == ‘right’
assign content_class = ‘lg:col-start-1’
assign image_class = ‘lg:col-span-3 lg:col-end-last’
else
assign content_class = ‘lg:col-end-last’
assign image_class = ‘lg:col-span-3 lg:col-start-1’
endif
%}
{% schema %}
{
“name”: “Image with text”,
“settings”: [
{
“type”: “image_picker”,
“id”: “image”,
“label”: “Image”
},
{
“type”: “radio”,
“id”: “image_position_on_desktop”,
“label”: “Image position on desktop”,
“options”: [
{
“value”: “left”,
“label”: “Left”
},
{
“value”: “right”,
“label”: “Right”
}
],
“default”: “right”
},
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Heading goes here”
},
{
“type”: “richtext”,
“id”: “richtext”,
“label”: “Text”,
“default”: “
Use this text to share information about your brand with your customers.
”Is this the right one?