Comments (6)
This is too generic to hold any weight. Many others have suggested the same thing, in the same way.
Think about how this affects how people use the plugin, with multiple sliders, and propose a suggestion. :)
from flexslider.
I know.
I edited this issue several times after posting (to put some examples in), but figured it were easier by examples.
Here goes some specific classnames:
- disabled
- no-js
- next
- prev
- slides
Specific other suggestions:
- By principle (and to avoid most conflicts), prefix all css classnames (fx. flex-slides, flex-next)
- Set fixed background-color and other most used styles on links, to avoid any template conflicts (fx. next/prev)
- Use !important statements for the important statements (fx. list-style)
- Use js variables for classnames in flexslider.js (makes it much easier for adoption into other templates)
- less inline styles in flexslider.js (more css classes)
I had a blast debugging the code when I converted it to a Joomla module. Some of these I fixed, but only just the ones to keep it running in single and multiple instances. :-)
from flexslider.
I like the ideas you're presenting. The issue will be balancing changes to the plugin without disrupting current implementations.
from flexslider.
I would like to use the flexslider inside the Joomla framework, and there is a div with an id in the template that is overriding the flexslider styling... Janich do you have any pointers?
from flexslider.
Clean up your FlexSlider CSS to make those styles more important. Use deeper selectors or !important (if absolutely necessary).
from flexslider.
FlexSlider 2 has a special treat for class namespacing mentioned here. Closing this issue.
from flexslider.
Related Issues (20)
- Prevent vertical swipe while swiping horizontally HOT 2
- Fix for Number-typed values are deprecated for jQuery.fn.css
- Forbid to tab through the slider HOT 1
- swipe is reverse in RTL
- $( '.flexslider' ).flexslider({ is not running occasionally HOT 1
- hiding slides with display:none to filter them... way to 'recount' the slides after doing so
- Using iframes (yt-videos) in flexslider breaks the last slide (animation: slide)xslider HOT 1
- Trouble placing multiple instances of flexslider on a website or page
- When animationSpeed becomes large, the image doesn't switch to a smartphone with Chrome's Devtools.
- The package could not be installed. Trying to install the plugin, get an empty plugin error?
- Fetching Thumbnail images dynamically
- Not compatible with Google Chrome and rtl mobile browsers HOT 1
- Is FlexSlider abandoned? HOT 1
- fix scrolld in 5000 min
- How to setup Flexslider in a gulpfile HOT 1
- FlexSlider prevents use of back/forward cache
- does not start on the first slider HOT 1
- slide container gets bigger when another slide has a tall vertical or horizontal image
- Cannot read properties of undefined (reading 'toLowerCase'
- thumbCaptions setting creates invalid html
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 flexslider.