Comments (10)
I switched mine to something similar when I saw that Foundation and Bootstrap were using the technique.
from superfish.
π
from superfish.
π Absolutely! I'm using the same thing. Arrow images (and IE7) are so 2000 and late :)
from superfish.
I don't suppose anyone has come up with some code that could add these back in by any chance?
The next version of the Genesis Framework for WordPress has jumped from SF 1.4.8 to 1.7.4. This means that all of the child themes using Superfish will lose whatever their dropdown arrows appeared as, since .sf-sub-indicator
won't exist. Although Genesis can include some JS to add these back in, they can't include the CSS, since the CSS for the site is provided by the child themes, not Genesis.
Any thoughts or suggestions?
from superfish.
Interesting predicament. When I removed the spans I figured it would be simple for people to generate them if needed, but didn't consider a situation where it would be tricky to add the accompanying CSS. I'll have a think about this.
Can you not enqueue some CSS from an action in the Genesis parent functions.php file? Or, at worst, you could generate a style tag using JS.
from superfish.
If the child themes provide the CSS and they used to rely on the spans for arrows, won't they contain the required CSS already? So all you'd need is to generate the spans? I'm a bit confused about this.
from superfish.
How can i change the color of the arrows? If i add "color:#000" in the css, the color doesnΒ΄t change...
from superfish.
color
is for text whereas the arrows use borders. You want border-top-color
.
from superfish.
Thank you very much :) Now I got one other problem: I want to have a different hover as the main navigation for the submenu. The hover for the main navigation is .sf-menu li:hover, .sf-menu li.sfHover
from superfish.
Sorry, but this isn't the right place to get general help. The issues area is for bugs with the plugin.
May I direct you to Stackoverflow or somesuch (and you should try to describe your issue less ambiguously).
from superfish.
Related Issues (20)
- SuperfishForSharePoint HOT 1
- Mobile menu not working π€ HOT 1
- jQuery easing animation support
- Way to disable all delays and animations HOT 2
- On Mobile (Google Pixel) on wordpress, selecting a submenu opens and rapidly closes the submenu HOT 1
- v1.7.9 confict with WooCommerce single product tabs navigation HOT 1
- issues with jquery 3.2.1 HOT 3
- onShow triggered again when clicking menu
- how to initialize superfish using javascript HOT 1
- Swiping to scroll opens submenu
- mouseenter targets vs focusin targets HOT 2
- On mobile submenus not showing HOT 1
- Superfish doesn't work correctly
- Close the current submenu by using escape HOT 5
- iPad ios 13.1 menu item link problem HOT 17
- Busted link in the README HOT 1
- jQuery Superfish Menu Plugin
- Homepage implies it contains examples, on their own page
- jQuery(...).superfish is not a function HOT 2
- Is there a support for accessibility for using this menu library. looking for aria-expanded attribute usage in this menu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superfish.