How to Change Background Color only on Homepage on Parallax Out of the Sandbox theme.

Is there a way to change the background color of the home page only in the Parallax theme by Out of the Sandbox? I can find the background color setting in the theme customizer, but I’d like to change the color of the homepage only.

I found this solution but our theme does not have a index.liquid file…

{% if template == 'index' %} body { background-color: #ededed; /* color hexcode */ } {% endif %}
1 Like

Thanks, this did not work when I tried to add it to the custom css theme settings or to our css file. I was able to find the .index-sections class and I just added the background color to this CSS and it did the trick.

1 Like

Hi @Thomas_Basinger ,

Please go to Actions > Edit code > Layout > theme.liquid file. You can add it in this file