Issues after adding custom code in the collage block

I wanted to add links to the collage block in my website and I added the code from the following post and I’m getting some issues.

https://community.shopify.com/c/shopify-design/add-link-to-a-collage-image-in-craft-theme/m-p/1666573#M444659

I’ve added an image of the issue I’m seeing.

Hi @charulramtekkar you have to add the translation in the locales > en.default.schema.json

Hi @charulramtekkar

This is a customized code, so it does not have translation texts for those options, you must add default text values for them.

I have the file open but I need to know where exactly should I add the translations?

Hi @charulramtekkar you can go to the row 399 and find “colors”

aldyexpatify_0-1711338018516.png

Replace the colors with the code below:

"colors": {
        "label": "Color scheme",
        "has_cards_info": "To change the card color scheme, update your theme settings.",
        "accent_1": {
          "label": "Accent 1"
        },
        "accent_2": {
          "label": "Accent 2"
        },
        "background_1": {
          "label": "Background 1"
        },
        "background_2": {
          "label": "Background 2"
        },
        "inverse": {
          "label": "Inverse"
        }
      },

So the code should be like this

The other ways you can edit the code in the section collage.liquid and change the label there

Change each label like this: