Hey all,
So, I’m currently trying to tweak one single page on my site. I have already successfully use CSS to fill the background with a solid color, like so:
.page.page-id-XXXX { background-color: #223464; }
Now, I would like to turn the title of that one page the same color so that it wouldn’t appear. Just for that one page, and just the page title.
I’ve actually found countless pages indicating how to do it (with solutions similar to what I’d used for my background) but none of them have worked so far (I tried changing the h1, the page-title, the post-title, the content something something, etc).
Any idea what I could be getting wrong?
Thanks in advance!
Best,
J.
Hey there,
I hope you are well today and thank you for your question.
To change the text on a single page, would look like this.
.page-id-XXXX h1.entry-title{
color:blue;
}
Best regards,
Support.
Hey,
Thanks a lot for the quick reply. However, unfortunately, it isn’t working. I obviously use the same page id number as I do for the tag that does work, but to no avail.
Any idea?
Best,
John
Hi there
Hope you are having a good day and thank you for your question
In order to check your question i need to see your live website, please provide url and i will take a look
Hey,
Sure, the url is: http://europeanconstitution.eu/
Will this suffice for now?
Best,
J.
Note: the page is this one: http://europeanconstitution.eu/topics
Maybe we could not display the title altogether but I have a feeling I’d run into the same problem.
Hi,
If you want to change the “Topics” color in the URL you shared, then use this Custom CSS,
.page-id-2184 .post-title a, .post-title {
color: white !important;
}
Of course, change white to the color you want.
Let us know,
Thanks,
laranz.
Wonderful, thanks a lot! I guess me asking CSS nicely before wasn’t important enough
Hi, there
Nice to hear your problem is fixed:)
Now I will now close the topic and mark it as resolved.
Feel free to contact us again Thanks!