Custom CSS to override only ONE part of a page
-
Hi All
I am using a custom CSS rule, inserted in the child stylesheet, to override the link colours on a single page.
The code looks like this
.page-id-5983 a { color: #000000!important; }
However, whilst this works, it is also overriding the colours in the menu bar on that one page, and I want these to remain the same as the rest of the site.
https://ju-jitsu.co.uk/upcoming-events/I think that there might be a way to only target the page, and not the menu, but the searches I’ve tried have not yielded the correct results, and I suspect I am using the wrong search terms.
Does anyone have ideas what the correct code should be?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom CSS to override only ONE part of a page’ is closed to new replies.