I have a block with a transparent PNG as a background image. From the css: background:transparent url(/sites/all/themes/theme/images/bg-front.png) repeat scroll 0 0;

When I use the standard $(".block").corner("round 10px"); I get corners, but they have a white background, and not transparency. Isn't this possible somehow?

I am using the latest version of jquery.corner.js, 2.03.

Comments

ron williams’s picture

Status: Active » Postponed (maintainer needs more info)

Have you tried wrapping the element with another div that has a transparent background? The javascript colors the image based on the parent element so the wrapping transparent background div may work.

ressa’s picture

Thanks for the answer. I can't remember if I tried that, but I ended up using a graphic with rounded corners in stead.

ressa’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)