Hi!
Go to Appearance -> Fixed Widget options
There you’ll find option called Disable plugin if screen width less then. Set it to 940 (pixels), that will disable plugin on mobiles
i don’t want it to disable it on mobile. i just want it to JQUERY pull out from the side…
it’s really easy to do this, i think you should add this to the plugin.
what i suggest is that on descktop, the fixed widget would be just like it is now.
but on mobile it will be “pulled out” like this example:
http://jsfiddle.net/yHPTv/2968/
that way, people who want to use it on mobile (not to disable it) would be able to use this “pull out” feature.
you understand ?
Ok, now I understand your idea!
But… I see a lot of problems here… Responsive layouts is a headake! Seven lines of code? It will take much more! )
I had many requests to add special effects, but I want to keep base plugin as simple as possible. Others could try to add effects with external plugins, but no one succeeded yet (
this is not a special effects, this is a very important feature that needs to be added.
if a person has a fixed search of a fixed contact form or a fixed menu – it will look bad for sure on mobile.
mankind it hide on mobile is not a good solution… mobile surfers also want to use the same functionality.
the solution i have added is the best idea… and i don’t see why it is complected.
you just use if is_mobile(); give the container div with some JQUERY to make it slide in and out.
if you need some coding help i can help you
You don’t understand… The initial widget position is very essential to the plugin. The trigger (when to apply fixed styles) is calculated from that position! On mobile widget position usually is different from desktop. Very common case – widgets in mobile are placed under the content. What does that mean? In most cases the trigger will not be applied at all! What about when widgets are hidden in mobile?..
So, fixed widgets in mobile has different logic. There is no sence to add it to current plugin. It will add unnecessary complexity and degraded performance. Its better to implement your idea in a new plugin! That’s my opinion!
Maybe i’ll create a plugin out of it… i am not sure how many people will use it
I would like to test your plugin. Keep me informed! )