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.
Hi, I was wondering how i could style the Nivo Slider. I did several google searches, and the main site with the documentation seems to be under maintenance. I tried to just drag and drop the new folder with the style I made into sites/all/modules/views_nivo_slider/styles but its not picking it up in Views. Any tips or tricks to make it work without overwriting the original "default" style?
Thanks for the help ahead of time.
Comment | File | Size | Author |
---|---|---|---|
#7 | Issue-1439518-3-Allow-custom-styles-in-NivoSlider.patch | 1.67 KB | xlyz |
#6 | Issue-#1439518-Allow-custom-styles-in-NivoSlider.patch | 1.67 KB | xlyz |
#3 | Issue_#1439518.diff | 3.21 KB | xlyz |
#2 | Issue-1439518-Allow-custom-styles-in-NivoSlider.patch | 1.32 KB | xlyz |
Comments
Comment #1
xlyz CreditAttribution: xlyz commentedstyles are hardcoded. see views_nivo_slider_style_plugin.inc
you can workaround it:
being a quite ugly workaround (especially the second step), I'm changing this issue in a feature request :)
Comment #2
xlyz CreditAttribution: xlyz commentedattached patch take care of step #2 in the above comment.
Comment #3
xlyz CreditAttribution: xlyz commentedComplete patch:
enjoy
Comment #4
ckngYour patch in comment #3 is not available on d.o, naming problem I believe.
Comment #5
ckngDefault themes/styles from Nivo Slider is now available in the 7.x-3.x branch.
For custom theme, could select None for the style and you can theme it via
.theme-none
But still would like to have #3 patch to go in to support other folders such as theme.
Comment #6
xlyz CreditAttribution: xlyz commentedhere it is. there is room for improvement :)
Comment #7
xlyz CreditAttribution: xlyz commentedtrying again
Comment #8
ckngMake sure you are patching against 7.x-3.x branch, you are working on old branch.
Comment #9
xlyz CreditAttribution: xlyz commentedneed more time for that :)