How can I remove background color from certain pages?

Hello,

Could anyone help with the following:
I have my Background 1 colour set but I need to remove this background colour from some of my pages without having to change the colour of the Background colour 1.

Thanks in advance

Hi @armadillogames ,

This is Victor from PageFly - Landing page builder, I’d like to suggest this idea for solution:

Step 1. Go to Online Store → Theme → Edit code
Step 2. Open your theme.liquid theme file
Step 3. Paste below code before :

{% if canonical_url contains 'products' %}
  
{% endif %}

{% if canonical_url contains 'collections' %}
  
{% endif %}

Hope my answer will help you.

Best regards,

Victor | PageFly

That worked! Would it be possible to do this for the collapsible content also that sits under each product?

Hi @armadillogames , sorry for the late reply

Yes, you can try this code below:

{% if canonical_url contains 'products' %}
  
{% endif %}

Soryr for the delayed response, I was away for a few days. That worked! Thank you so much!