[SOLVED] Menu tab background changes with ncleanblue menu
Posted: Wed Mar 23, 2016 7:57 pm
I have an irritating problem with my navigational tab backgrounds, using the menu system that comes with the ncleanblue core template and stylesheet. I'm using CMSMS 2.1.2
Problem: For some of the main (first level) tabs, I use Internal Page Links instead of actual Content pages. The navigational tabs for actual Content pages and their subpages are behaving correctly (i.e. the tab background turns a different color when on an active page (or subpage thereof).
However, the navigational tabs for any subpage of an Internal Page Link doesn't not correctly change background colors.
I've used this same navigation menu, in the same way, a couple of times with CMSMS 1.+ versions and haven't had the problem I'm having now. I'm comparing stylesheets with one from CMSMS 1.+ and don't see anything different.
I've tried looking at the CSS and still can't figure out what's wrong. I think it has to do with this section of code below, but can't figure out what's wrong:
.page-menu ul#primary-nav li a.menuparenth,
.page-menu ul#primary-nav li a.menuactive,
.page-menu ul#primary-nav li a:hover,
.page-menu ul#primary-nav li a:focus,
.page-menu ul#primary-nav li a:active {
background-position: 100% -120px;
}
.page-menu ul#primary-nav li a {
background-position: 100% -80px;
}
.page-menu ul#primary-nav li a.menuactive span,
.page-menu ul#primary-nav li a:hover span,
.page-menu ul#primary-nav li a:focus span,
.page-menu ul#primary-nav li a:active span {
background-position: 0 -40px;
}
.page-menu ul#primary-nav li a span {
background-position: 0 0;
}
Here's link to actual page: http://new.coralvilleumc.org/
Any ideas for me?
Problem: For some of the main (first level) tabs, I use Internal Page Links instead of actual Content pages. The navigational tabs for actual Content pages and their subpages are behaving correctly (i.e. the tab background turns a different color when on an active page (or subpage thereof).
However, the navigational tabs for any subpage of an Internal Page Link doesn't not correctly change background colors.
I've used this same navigation menu, in the same way, a couple of times with CMSMS 1.+ versions and haven't had the problem I'm having now. I'm comparing stylesheets with one from CMSMS 1.+ and don't see anything different.
I've tried looking at the CSS and still can't figure out what's wrong. I think it has to do with this section of code below, but can't figure out what's wrong:
.page-menu ul#primary-nav li a.menuparenth,
.page-menu ul#primary-nav li a.menuactive,
.page-menu ul#primary-nav li a:hover,
.page-menu ul#primary-nav li a:focus,
.page-menu ul#primary-nav li a:active {
background-position: 100% -120px;
}
.page-menu ul#primary-nav li a {
background-position: 100% -80px;
}
.page-menu ul#primary-nav li a.menuactive span,
.page-menu ul#primary-nav li a:hover span,
.page-menu ul#primary-nav li a:focus span,
.page-menu ul#primary-nav li a:active span {
background-position: 0 -40px;
}
.page-menu ul#primary-nav li a span {
background-position: 0 0;
}
Here's link to actual page: http://new.coralvilleumc.org/
Any ideas for me?