Having a minor CSS issue here. I am attempting to change something for a specific page or post, like in the case of wanting to change the background color of the entry content of page number 2458. I've managed to get that working with the following code:
#post-2458 .entry-content {
background-color: #fff;
}
However, I've encountered an issue when trying to change the background color of col 8 on page 2458 using the same logic. Without #post-2458, it changes but applies to all pages when I only want it to change for the specified ID. The code I used that didn't work:
#post-2458 .col-md-8 {
background-color: #fff;
}
Is there something I'm missing or did wrong? Any advice on adjusting the code would be greatly appreciated. I'm using a custom CSS plugin to input these codes. Thank you.