Transparent header home page only (and some more)

Topic summary

Request to make the Shopify home page header transparent with white text/icons and control sticky behavior (appear on scroll up with white background/black text; hide on scroll down). A solution was suggested: add a conditional block for the home page in theme.liquid after the tag using {% if template == ‘index’ %} … {% endif %}. The poster confirmed this addressed the header change.

New issue: the “Add to cart” button is not working. Diagnosis indicated a problem in the theme’s script, which is encrypted, preventing direct fixes. Recommendation: contact the theme or app support for resolution. A screenshot was provided to illustrate the script issue.

Key terms:

  • theme.liquid: Shopify’s main layout file where global code is added.
  • template ‘index’: the home page template, allowing page-specific changes.
  • Sticky header: a header that stays visible during scrolling.

Outcome and status:

  • Header transparency on the home page appears resolved.
  • Add-to-cart malfunction remains unresolved; support contact advised.
  • Poster cannot reach support, so the issue is open/ongoing.
Summarized with AI on December 16. AI used: gpt-5.

I am unable to contact them, could you please try to fix it? i will buy you coffe, please:/