Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Need some help on this bug. As the front page is loading, all the slides show unstyled. Stacked one on top of another.
Once the page loads, the slider works as intended.
It seems like the plugin is not loading correctly via css or js??
I am sure I am not the only one experiencing this problem. Can someone help me with this issue?
Comments
Comment #1
Back From 7 CreditAttribution: Back From 7 commentedAnyone else having this issue. I am sure this is easily fixed with some custom CSS?
Comment #2
Back From 7 CreditAttribution: Back From 7 commentedUNSTYLED CONTENT SOLUTION:
I found the css markup that fixes the issue. You have to add a width and height to the nivo slider to fix the unstyled slider on page load. Hope this helps someone. Also thanks to the maintainers for no help whatsoever on this issue... I am sure I am not the only one with this happening.
https://drupal.org/node/1713210 #20
#views-nivo-slider-YOURVIEWNAMEHERE-block_1 {
overflow: hidden;
width: 998px !important;
height: 300px !important;
}
#views-nivo-slider-YOURVIEWNAMEHERE-block_1 img {
width: 998px !important;
height: 300px !important;
}