Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nivo slider, is a way to always show the next and prev arrows?

I am using nivo slider( default theme) and I positioned the prev and next arrows next to the image(not on top of the image) and I was wondering if there is a way to always show the next and prev arrows(right now the arrows only show when you hover over the image). Seems there should be a way to edit the code to do this but I can't seem to figure out where. Thanks!

like image 288
jsavage980 Avatar asked Aug 05 '11 15:08

jsavage980


2 Answers

directionHideNav: false doesn't work as of 3.1.

Changes now need to be made in CSS In the theme css file find the line

.theme-default .nivo-directionNav a

Change: opacity: 0; to opacity: 1;

like image 61
Baxny Avatar answered Oct 04 '22 04:10

Baxny


Right way is;

just change or add directionNavHide value and set it to false in nivoSlider settings.

$('#slider').nivoSlider({directionNavHide:false});
like image 33
tolginho Avatar answered Oct 04 '22 04:10

tolginho