How to add HTML Tag in Contact Form Title

Hi I am trying to add this
tag in contact form title. But it is not accepting tag insted of tag it is showing opening and closing brackets.

The page i need help with is

https://mishsweets.com/pages/contact

Hi @Mish_Sweets

You can try to add
and check again.

Hey @Mish_Sweets ,

Follow these steps:

  1. Go to Online Store > Theme > Edit Code

  2. Find the file that corresponds to your contact page, likely contact-form.liquid or in a section related to the contact page (e.g., page.contact.liquid).

  3. Locate the title where you want the line break.

Add CSS for Line Break:

Instead of using
, you can add a custom class or use inline styles to create a line break. For example:

## Get in Touch
We’d love to hear from you!

Add Custom CSS:

  1. In the Edit Code section, find your theme.css or theme.scss.liquid file under the Assets folder:
.contact-form-title {
    line-height: 1.5; /* Adjust as needed */
    text-align: center; /* Center the text if desired */
}

After making these changes, save your files and check your contact page to see if the title now displays as desired.

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regard,

Rajat Sharma

Thanks for your precious reply. Its working

Very welcome!