Hi there,
To remove previous button from first slide and next button from last slide, you need to do some small code changes.
Please follow the given steps,
1. Go to wp-content/plugins/smooth-slider/css/skins/default/functions.php file.
2. Open file to edit.
3. Find/ Search for the term $html.=$fouc_ready;.
4. Please add the below code after searched term line.
5. `if ($smooth_slider[‘prev_next’] == 1){
$html .=’function onAfter(curr, next, opts) {
var index = opts.currSlide;
jQuery(“#’.$slider_handle.’_prev”)[index == 0 ? “hide” : “show”]();
jQuery(“#’.$slider_handle.’_next”)[index == opts.slideCount – 1 ? “hide” : “show”]();
}’;
}`
6. Find for the term $html.='next:
7. Please add the below code at the end of searched term line means before ';.
after:onAfter,
Hope it will help you.
Best Regards,
Sukhada,
SliderVilla Support Team.
Worked perfectly. Thanks!