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 guys, I have a nivo slider and I want it to have rounded corner.

I added the border radius on the container, then on the img, then on the link .. nothing work.

When it load, it’s rounded corner .. but as soon as there is a transition, it’s square again.

Anybody have a solution?

1383 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
wpCanyonThemes says

Try !imporatant

3426 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says

you could try using these functions

        beforeChange: function(){}, // Triggers before a slide transition
        afterChange: function(){}, // Triggers after a slide transition

as for adding border radius to images it only works in a few browsers(Itll have changed since I last tested it been a while) but I know ff 3.6 and below it doesnt work on images same with older versions of Chrome, it works in safari 3+ and Im unsure about Opera 11 but I know it doesnt work in 10.5

2245 posts Digital Artist
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has referred 200+ members
  • Has collected 50+ items on Envato Market
+11 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

2587 posts Put a Donk On It
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has sold $250,000+ on Envato Market
+10 more
ThemeProvince says

you could try using these functions
        beforeChange: function(){}, // Triggers before a slide transition
        afterChange: function(){}, // Triggers after a slide transition
as for adding border radius to images it only works in a few browsers(Itll have changed since I last tested it been a while) but I know ff 3.6 and below it doesnt work on images same with older versions of Chrome, it works in safari 3+ and Im unsure about Opera 11 but I know it doesnt work in 10.5

+1 I was thinkin that.

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?

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

you could try using these functions
        beforeChange: function(){}, // Triggers before a slide transition
        afterChange: function(){}, // Triggers after a slide transition
as for adding border radius to images it only works in a few browsers(Itll have changed since I last tested it been a while) but I know ff 3.6 and below it doesnt work on images same with older versions of Chrome, it works in safari 3+ and Im unsure about Opera 11 but I know it doesnt work in 10.5

Hey,

So how exactly would you use them? :)

3426 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says


you could try using these functions
        beforeChange: function(){}, // Triggers before a slide transition
        afterChange: function(){}, // Triggers after a slide transition
as for adding border radius to images it only works in a few browsers(Itll have changed since I last tested it been a while) but I know ff 3.6 and below it doesnt work on images same with older versions of Chrome, it works in safari 3+ and Im unsure about Opera 11 but I know it doesnt work in 10.5

Hey,

So how exactly would you use them? :)

its untested as Im just writing it in here but it’d be something like

$(window).load(function() {
    $('#slider').nivoSlider({
afterChange: function(){ $('#slider').css('border-radius', '4px'}
}
);
});
1383 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
wpCanyonThemes says



you could try using these functions
        beforeChange: function(){}, // Triggers before a slide transition
        afterChange: function(){}, // Triggers after a slide transition
as for adding border radius to images it only works in a few browsers(Itll have changed since I last tested it been a while) but I know ff 3.6 and below it doesnt work on images same with older versions of Chrome, it works in safari 3+ and Im unsure about Opera 11 but I know it doesnt work in 10.5

Hey,

So how exactly would you use them? :)

its untested as Im just writing it in here but it’d be something like

$(window).load(function() {
    $('#slider').nivoSlider({
afterChange: function(){ $('#slider').css('border-radius', '4px'}
}
);
});

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

3426 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in United States
  • Has been part of the Envato Community for over 4 years
+1 more
organicbee says




you could try using these functions
        beforeChange: function(){}, // Triggers before a slide transition
        afterChange: function(){}, // Triggers after a slide transition
as for adding border radius to images it only works in a few browsers(Itll have changed since I last tested it been a while) but I know ff 3.6 and below it doesnt work on images same with older versions of Chrome, it works in safari 3+ and Im unsure about Opera 11 but I know it doesnt work in 10.5

Hey,

So how exactly would you use them? :)

its untested as Im just writing it in here but it’d be something like

$(window).load(function() {
    $('#slider').nivoSlider({
afterChange: function(){ $('#slider').css('border-radius', '4px'}
}
);
});
+ the -moz and -webkit rules for border radius.

+1 I was being lazy…

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by