Hi, refresh theme , background color homepage

Topic summary

A user is attempting to change the homepage background color to #f5f5f5 on a Shopify store using the Refresh theme.

Technical Issue:

  • Added custom CSS code in theme.liquid before the closing tag
  • Used conditional logic ({% if request.path == ‘/’ %}) to target only the homepage
  • The condition executes correctly, but the background-color styling on the body element isn’t applying

Current Status:

  • Another user offered to troubleshoot by reviewing the live store (requesting URL and password for storefront access only, not admin credentials)
  • The original poster declined to share store details, preferring a solution without providing access
  • The issue remains unresolved with no alternative solution proposed yet
Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hi , I want to set the background color to #f5f5f5 only for the homepage. Im using refresh theme, also I put this code in theme.liquid bwfore closing tag …

{% if request.path == ‘/’ %}

body { background-color: #000 !important; }

{% endif %}
condition is working but nothing is changing with “ body “

Hi @Sao23 ,

You can share your store url + password (if exist) for me? I will check more details of your homepage

Hi sir, please if you can help me without sharing with you is perfect for me. It is an normal refresh theme

Hi @Sao23 ,

Dont worry, you share for me is store url and password to access store view only, not secret information to i can be login to shopify admin :grin: