How to change the white background color of this specific page for a black background?

hello, i have trouble to change the white background color of this specific page for a black background : https://mobilegear.fr/pages/questions-frequentes

I don’t wanna change for a black background for all of the pages on my website but just for this specific page.

Also i would like to change the color of the h1 title “question fréquentes” for white to be visible ? thx you !

Hello @Sauron6263

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid
    {% if page contains ‘questions-frequentes’ %}

section#shopify-section-template--21244025897309__main { background: #000 !important; } .section-template--21244025897309__main-padding { background: #fff !important; }

{% endif %}

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

hello, thx you that was the idea, but i was looking to put the page completeley black (where i put the red line also)

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

.section-template--21244025897309__main-padding { background: unset !important; } #shopify-section-template--21244025897309__main h1 { color: #fff !important; } .faq-wrapper article p { color: #fff !important; }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

1 Like