How to add a Text section between images and title

Hello guys, how can I add between the title and the images one more text?

1 Like

hey @NikosBat try this one### Where to Insert It

Assuming this is a custom section or block in your Shopify theme, here’s what the structure likely looks like in Liquid or HTML:


  ## GlĂĽckliche Kunden, glĂĽckliche Momente!
  
  

Mehr als 600 Menschen lieben unsere Produkte!

Steps to Do This in Shopify Admin:1. Go to Online Store > Themes

  1. Click Actions > Edit code

  2. Open the section or block file that contains this part of your homepage (e.g., sections/featured-collection.liquid)

  3. Look for the title

    or similar text.

  4. Insert your new line of text just below the

    tag.

  5. Save and preview.

Optional Styling with CSS

To make the new line stand out:

.subtitle {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin-top: 5px;
}
1 Like

Hi Mustafa_Ali, thats a section which a friend of mine have coded, but we dont know how to add 1 more text in there. The code above does not work for me.

Hi NikosBat :waving_hand:

Add a new setting to your section schema so the text can be edited.

Render that setting in your HTML code between the title and image.
Example:
In your section .liquid file, locate the schema and add:

{
“type”: “text”,
“id”: “extra_text”,
“label”: “Extra Text”
}
Then, in your HTML layout, place this where you want it to add:

{{ section.settings.title }}

{{ section.settings.extra_text }}

Make sure to adjust your CSS, if you want to style.
1 Like

Thanks, that helped me

1 Like