I am currently in the process of learning, so I appreciate your patience.
Before proceeding, please take a look at this page: Visit my site
If you scroll down, you will notice a sidebar titled NAVIGATE.
I have manually included some sub-menus there and also added a background color change effect when hovering over each section.
Now, I would like to implement a feature where when someone is on the History of CSE page, the sub-option in the NAVIGATE column should reflect the active division or link.
This means that I am looking to add the :active property. The active page's section will display a different background color, like green.
I have tried searching extensively but haven't been able to figure it out.
Thank you for your assistance!
PS: Below is what I attempted, as I am a complete beginner and unsure about what steps to take:
div.sbproduct:hover{
background-color: #F5AC2B;
}
div.sbproduct a:active{
background-color:#ffffff;
}
.sbproduct:hover a{
color: #ffffff !important;
}