How to remove footer only on home page without affecting other pages & make same button same length

Im looking to remove the footer from only the main page without affecting the other pages and making the enter store button the same length as the email button for desktop and mobile

Hi @undercoverfresh , you can follow these steps:

Step 1: Open Online Store → Themes → Edit code

Step 2: Find theme.liquid file

Step 3: Paste this code before close tag:

{% if request.path == "/" %}
      
{% endif %}

If this helpful, please let us know by giving us a like and marking it as a solution. Thanks

@undercoverfresh please add this css to the very end of your theme.liquid file and check, add it before
Shopify Admin → Online Store ->Theme → Edit code → theme.liquid

{% if template.name == "index" %}

{% endif %}

please add this css to the very end of your base.css file and check,
Shopify Admin → Online Store ->Theme → Edit code → base.css

#shopify-section-template--16780707856468__rich_text_XzkKbY .rich-text__buttons .button{width: 100%;  max-width: 36rem;}

this worked thank you @B2Bridge