How can I change H2 to div in website coding?

Topic summary

Main issue: The site owner wants to change an

element (“Subscribe to our emails”) to a
with specific classes, but can’t locate the code in the theme. Liquid refers to Shopify’s templating files.

Guidance provided: Navigate to Online Store → Theme → Edit code → sections → Newsletter.liquid. The heading markup for the newsletter/email signup section is located there, where it can be changed from

to
while keeping the desired classes.

Artifacts: Screenshots were shared to illustrate the location in the theme editor and the visible

on the site.

Outcome: The original poster confirmed the guidance solved the problem and expressed thanks. The responder acknowledged and offered further help.

Status: Resolved; no further action requested or outstanding questions.

Summarized with AI on December 31. AI used: gpt-5.

Hello, i have a coding problem which i can’t resolve.

H2 is in my email section - “Subscribe to our emails”. Adding screenshot bellow my message.

I want to change <h2 to <div in editing codes of my website.

Problem is, that i can’t find in editing codes this line "<h2 class=“inline-richtext h1 scroll-trigger animate–slide-in”. Where can i find liquid for changing h2 to div, specifically to inline richtext scroll trigger animate?

Thank you.

Hello,

I hope you are doing well.

I am San MS Web Designer.

Go to Online Store->Theme->Edit code > sections > Newsletter.liquid

Do let me know if you have any concern.

Regards,

San

1 Like

Thank you very much!

Hello,

Thank you for your response.

You’re Most welcome.

We are glad that our suggestion was helpful to you.

If you need any further assistance do let me know.

Regards,

San