2226 posts
  • Has referred 200+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+10 more
crozer says


Hey DD, if you still need help with this let me know. It’s kind of tricky to get this done (check out my Explicita landing page which has a slider with round corners). Best,
Chris
Hey is it me or the slider only have 2 corner that are rounded? The cinema one, right?

Yeah, the Cinema template. And no, just a small mistake I did: the wrapper was 2pixels wider than it should have been. That’s why the right rounded-corners were not visible. Check again ;)

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

Hmm, my editor tell me there’s a “)” missing :

<script type="text/javascript">
$(window).load(function() {
    $('.slider').nivoSlider({
        effect:'random', // Specify sets like: 'fold,fade,sliceDown'
        animSpeed:500, // Slide transition speed
        pauseTime:9000, // How long each slide will show
        directionNav:true, // Next & Prev navigation
        directionNavHide:false, // Only show on hover
        controlNav:false, // 1,2,3... navigation
        keyboardNav:true, // Use left & right arrows
        pauseOnHover:true, // Stop animation while hovering
        captionOpacity:1, // Universal caption opacity
        prevText: 'Prev', // Prev directionNav text
        nextText: 'Next', // Next directionNav text
        afterChange: function(){$('.slider').css('border-radius', '4px'} // Triggers after a slide transition

    });

});

</script>

EDIT Ahh .. got it :)

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says

Hmmm, doesn’t work.

I see it for 1 sec and it disappear.

2952 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+10 more
DDStudios says



Hey DD, if you still need help with this let me know. It’s kind of tricky to get this done (check out my Explicita landing page which has a slider with round corners). Best,
Chris
Hey is it me or the slider only have 2 corner that are rounded? The cinema one, right?
Yeah, the Cinema template. And no, just a small mistake I did: the wrapper was 2pixels wider than it should have been. That’s why the right rounded-corners were not visible. Check again ;)

Ok look good now :)

122 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+2 more
jayjdk says

+ the -moz and -webkit rules for border radius.

No need for -webkit.. Both Safari 5 and the latest many many versions of Chrome supports border-radius

118 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+2 more
FranklinM2 says
by
by
by
by
by
by