Closed (works as designed)
Project:
Nivo Slider
Version:
7.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2013 at 03:29 UTC
Updated:
14 Feb 2016 at 13:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
devin carlson commentedYou can control thumbnail display and styling by toggling the "Use thumbnails for control navigation" setting and changing the slider theme on the options page.
Comment #2
alexandreracine commentedThat's the problem, that option is off :(
See attached file.
Thanks.
Comment #3
alexandreracine commentedAnd in the Navigation section "Use thumbnails for control navigation " is uncheck too.
Comment #4
ressaI don't think the navigation is the problem, but the transition - there is none. The only thing that happens before a new image is shown, is that a little version of the image pops up in the upper left corner.
Comment #5
alexandreracine commentedMmm, good point. I did not even looked at that!
Devin, is there something we can do to help you on that (I am not a coder, but can replace code if needed).
Thanks.
Comment #6
ressaUpdated title and category.
Comment #7
devin carlson commentedThis is a duplicate of #1910550: Latest version of Nivo slider - demands jQuery v1.7.
Comment #8
alexandreracine commentedSorry Devin, watever I do , transition and the little thumbnail is still not working correctly event with the latest version since I do have jQuery v1.7/1.8.
Here is what I currently have.
Drupal 7.19
jQuery Update 7.x-2.3 (witch provide either jQuery 1.7 or 1.8, watever option does not change this bug)
Nivo Slider 7.x-1.9 (drupal module)
Libraries 7.x-2.0
NivoSlider 3.2 (but event with the NivoSlider 3.01, the bug was there too)
----------- CONFIGS -------
Configure slider options.
Nivo Slider
Theme [no options are available here]
Use image styles to generate slider images - [NO]
Use a random starting slide - [YES] - (working)
Effet - [SLICE DOWN] (watever option used, it does not work)
Slices Slices - [20]
Box columns Columns - [8]
Box rows - [4]
Animation speed [500] ms
Pause animation when hovering over the slide - [YES] - (working)
Display directional navigation - [NO]
Display control navigation - [NO]
Disable automatic slide transitions - [NO]
Pause time ms [5000]
---------------------------
The result is here http://www.racineimagine.com/
Comment #9
oli538 commentedI had exactly the same issue as the one Alexandre reported on January 29 and as the one on the screenshot in reply #4 (February 5) for a new site that is not live yet. So I did some investigation and found the error to be related to "max-width" property for img in the CSS.
Apparently the nivo slider doesn't like the img tag to have the max-width set. If you disable it (either with Firebug - see attached 20130311-issue-1900590.jpg taken from Alexandre's site) or by removing that value in the CSS then the animations should be working again. It worked for me!
I don't know if this should be a patch in the Nivo Slider Drupal module or if it should be fixed in the JQuery plugin (I leave that to the maintainer of this module to decide...) but thought I shared back this fix to the community so it can help others...
Thanks!
Comment #10
ressaNice catch oli538, thanks for sharing :)
Most new themes are responsive, so they include an
img { max-width: 100%; }declaration, which is necessary for images to be dynamically resized, when the screen has a smaller width than the image. So we can't remove it.One solution could be adding this CSS in the Nivo Slider Module, in a CSS file:
Comment #11
alexandreracine commentedHi all,
Great, this is working!
This should be the content of the sites/all/modules/nivo_slider/css/nivo_slider.css file:
Devin, could you patch this? :) Like oli538 and Ressa, I don't know if this is the right solution, but it's sure a quick fix :)
Comment #12
gladiatorhl2 commentedIt happens because of your theme and block configuration (the same problem was encountered by me). Simply try another block area: banner top or slider block etc.
Comment #13
alexandreracine commentedThis can be closed :)
Comment #14
MatthijsG commentedUpdating with some info; maybe the last code should be added?
Google's first result about thumbnails inside banner showed these page.
The theme Nucleus has in the responsive.css the following markup:
img { max-width: 100% !important;}There are plenty of themes out there. NivoSlider should reset the possibility that the max-width is given. For me, i added the following lines in my own CSS-file