Need help with Navigation HOVER CSS problem
-
Okay, I am having a problem editing the Navigation on a Template I am installing. The Navigation has a Hover effect and I want to remove it entirely. However, despite editing the CSS in the style sheet I cannot get the hover effect to vanish. I have spent a couple of days on this now and wonder if there is something simple that I am missing! My fear is that the hover effect is hard-coded somewhere in the php files, which is why I cannot edit it via the CSS.
Can anyone take a quick look at the code and let me know if you spot anything obvious?
Firstly, my test page is up at:
http://capecodscenterforpersonalevolution.com/test/
When you hover over the Navigation you will see a Blue line appear above the menu items. It is THAT blue line I want to remove.
I am using Coller Pro as a Theme.
The original CSS in the template was:
/* =Menu ----------------------------------------------- */ .main-navigation { clear: both; display: block; float: left; width: 100%; margin-bottom: 0px; } #nav-container { width: 974px; margin: auto; } .main-navigation ul { list-style: none; margin: 0; padding-left: 0; } .main-navigation li { float: left; position: relative; } .main-navigation a { display: block; text-decoration: none; color: #555; text-decoration: none; padding: 20px 20px; font-weight: bold; } .main-navigation a:hover { background: #f3f3f3; border-top: #0C9 solid 4px; padding-top: 16px; } /* .main-navigation .current_page_item > a { background: #ddd; border-top: solid 3px #222; padding-top: 17px; } */ .main-navigation ul ul { /*box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);*/ display: none; float: left; position: absolute; top: 4.0em; left: 0; z-index: 99999; background: #f3f3f3; } .main-navigation ul ul ul { left: 100%; top: 0; } .main-navigation ul ul a { width: 200px; font-size: 14px; font-weight: normal; color: #555; padding: 8px 20px; font-weight: 400; } .main-navigation ul ul a:hover { border-top: none; background: #333; color: #eee; padding: 8px 20px; } .main-navigation ul ul li { } .main-navigation li:hover > a { color: #333333; } .main-navigation ul ul li:hover > a { background: #333; border-top: none; padding: 8px 20px; color: #eee; } .main-navigation ul ul :hover > a { } .main-navigation ul ul a:hover { } .main-navigation ul li:hover > ul { display: block; } .main-navigation li.current_page_item a, .main-navigation li.current-menu-item a { } .td_mobile_menu_wrap { padding: 15px 25px; text-align: center; }I have since changed the relevant hover section to…
.main-navigation a:hover { padding-top: 16px; }…but still that blue line appears! It is driving me a little crazy. 🙂
Can anyone see what I am doing wrong or offer a suggestion as to where the problem might lie?
All replies appreciated,
Mark
The topic ‘Need help with Navigation HOVER CSS problem’ is closed to new replies.