Change color of a page

Solved

Change color of a page

PabloPier
Tourist
25 0 4

Hello, I want to change my About Us page. I want the background to be black and letters to be white.

PabloPier_0-1719830368438.png

URL: https://www.pablopier.com/pages/about-us

Accepted Solution (1)

Moeed
Shopify Partner
4327 1113 1365

This is an accepted solution.

Hey @PabloPier 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

 

{% if page.handle == "about-us" %}
<style>
section#shopify-section-template--22729342615875__main {
    background: black !important;
}
.main-page-title {
    color: white !important;
}
.rte.scroll-trigger.animate--slide-in {
    color: white !important;
}
h3, h2 {
    color: white !important;
}
</style>
{% endif %}

 

RESULT:

Moeed_0-1719830707104.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Replies 4 (4)

Moeed
Shopify Partner
4327 1113 1365

This is an accepted solution.

Hey @PabloPier 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

 

{% if page.handle == "about-us" %}
<style>
section#shopify-section-template--22729342615875__main {
    background: black !important;
}
.main-page-title {
    color: white !important;
}
.rte.scroll-trigger.animate--slide-in {
    color: white !important;
}
h3, h2 {
    color: white !important;
}
</style>
{% endif %}

 

RESULT:

Moeed_0-1719830707104.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
PabloPier
Tourist
25 0 4

Thank you, but now my "Join us" is black too and i can not see it 

PabloPier_0-1719831023486.pngPabloPier_1-1719831049723.png

 

PabloPier
Tourist
25 0 4

i did it thank you

 

Moeed
Shopify Partner
4327 1113 1365

I have updated the code, you may try the updated code as it should be good now. Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️