ThemeForest

How to use border-radius on nivo slider?

2942 posts
  • Has been a member for 3-4 years
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Blog Post
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 100 and 499 items
  • Australia
  • Referred between 200 and 499 users
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?

1 year ago
1374 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Serbia
  • Referred between 10 and 49 users
wpCanyonThemes says

Try !imporatant

1 year ago
2211 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
OrganicBeeMedia 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 year ago
1962 posts
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a File in an Envato Bundle
  • Interviewed on the Envato Notes blog
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Peru
  • Referred between 200 and 499 users
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

1 year ago
2389 posts Put a Donk On It
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Tutorial to a Tuts+ Site
  • Interviewed on the Envato Notes blog
  • Beta Tester
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • United Kingdom
  • Referred between 50 and 99 users
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.

1 year ago
2942 posts
  • Has been a member for 3-4 years
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Blog Post
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 100 and 499 items
  • Australia
  • Referred between 200 and 499 users
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?

1 year ago
2942 posts
  • Has been a member for 3-4 years
  • Won a Competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Contributed a Blog Post
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Exclusive Author
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 100 and 499 items
  • Australia
  • Referred between 200 and 499 users
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? :)

1 year ago
2211 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
OrganicBeeMedia 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'}
}
);
});
1 year ago
1374 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Serbia
  • Referred between 10 and 49 users
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.

1 year ago
2211 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 10 and 49 items
  • United States
OrganicBeeMedia 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…

1 year ago
by
by
by
by
by