How to Add a Custom Section to My Homepage?

Solved

How to Add a Custom Section to My Homepage?

TysonAli1
Visitor
1 0 1

Hi everyone,
I’d like to add a new custom section to my website (Checkout) homepage to showcase [specific content, e.g., testimonials, featured blogs, or a promotional banner]. 

Can someone guide me on how to:

  1. Create a new custom section in the theme editor?
  2. Add it to my homepage layout?

Do I need to modify the Liquid files, or is there an easier way to achieve this?

Accepted Solution (1)

johnwatson1
Visitor
2 1 0

This is an accepted solution.

Here’s how you can do it:

  1. Create the Section: In the theme editor, go to the "Sections" folder and add a new .liquid file (e.g., custom-section.liquid). Design your content there.
  2. Add to Homepage: Edit your index.json or index.liquid file in the "Templates" folder and reference your new section.
  3. Theme Editor Option: If your theme supports it, you can add the section directly via the theme editor without touching code.

View solution in original post

Replies 2 (2)

johnwatson1
Visitor
2 1 0

This is an accepted solution.

Here’s how you can do it:

  1. Create the Section: In the theme editor, go to the "Sections" folder and add a new .liquid file (e.g., custom-section.liquid). Design your content there.
  2. Add to Homepage: Edit your index.json or index.liquid file in the "Templates" folder and reference your new section.
  3. Theme Editor Option: If your theme supports it, you can add the section directly via the theme editor without touching code.

DaisyVo
Shopify Partner
775 102 116

Hi @TysonAli1 

 

To fulfill your request, please go to Theme > Customize > Add section > Customi Liquid https://prnt.sc/bwchnZq8i1xJ

 

Don't forget to Save when you are done

 

I hope this helps

 

Best,

 

Daisy

 

 

 

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution