So I added the following code to make my fixed nav bar do a cool color change and transparency thing when I scroll. The problem is I need to know how to add the code to change the text color upon scroll for the links in the nav bar that are inactive and active as well because I am going from white where the text needs to be dark to a dark background where the text needs to be lighter. If you can show me how to add that to the following code with #ffffff (white text in both categories, I can make proper color adjustments later. I just need the basic code for CSS. Thanks!
.x-navbar.x-navbar-fixed-top {
background-color: #38393f !important;
}
.x-navbar.x-navbar-fixed-top { opacity: 0.8 !important;
}