Archived topic
Text Color Per Page
3 replies · Started by Charles on September 24, 2021
It appears when I changed the color of text on one page, it changes the color of text on all pages.
How can I customize the color of text per page?
Thanks,
Charles
Hi Charles,
Not sure I fully understand your question.
Any chance you can link us to the page in question and let us know how did you change the color of text on this page?
You can use the private information field.
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
To change the color of text on this page (see link in Private info),
I go to Customize > Colors > Body > Text Color and adjust the color there.
It changes the color of text throughout my entire website, and I don't want
that. I want to be able to change the color of text for each page separately
but don't know how to do that.
Is that even possible with GP?
I see what you mean.
The customizer options are for the entire site, these are global options.
In your case, CSS is required, eg.
.page-id-4775 {
color: red;
}
4775is the page ID of the linked page, you can find it in page editor:
https://www.screencast.com/t/TF2RbXS7gH
If you want to apply it to other page, just replace 4775 with its own page ID.
CSS can be added to customizer > additional CSS.