Superfish Bug
-
I saw the previous post but it is more than just an annoyance for new menu positions. It has completely destroyed the look of my main menus drop down list. Could not for the life of me figure out what happened. I was changing some css but nothing I did to the themes css had anything to do with menus. then looking through the code (THANK GOD FOR DevTools) I found the culprit: wp-content/plugins/shortcode-menu/css/superfish.css?ver=3.8.1
I had just installed the plugin the day before.anything with sf- on the page is affected. This is a serious problem as it could and does affect the look of a site, whether or not we are using a menu created by the plugin.
yes the theme css is overriding SOME elements but not all especially the black backgrounds.
This is not a problem with your plugin specifically it is a problem with the way wordpress has us making plugins that require very common code, like superfish and jquery.
A temporary solution to this is maybe add note specifying a SF will affect… that way we can fix the issue BEFORE it breaks the site.Here’s the list of items sf affects and are NOT overridden on my theme that I have to add to the css to fix
.sf menu ul {
background: rgba(0,0,0,.8);
padding: 0.5em;
}
.sf-menu li {
white-space: nowrap;
-webkit-transition: color .2s;
transition: color .2s;
}
The topic ‘Superfish Bug’ is closed to new replies.