WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Applying a style to images?

[Resolved] Applying a style to images?

  • On one of my site themes the images have rounded corners (www.smiffy.info)

    I’d like to be able to implement this on another site, but I’m not sure what template or bit of CSS controls this.

    Can anyone point me in the right direction?

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s the ‘border-radius’ style. You can add it as the following, where X is the amount of “curve” you want, in pixels.

    border-radius: Xpx;

    Thanks – I’ve tried that an it’s put a rounder border on a square edge photo.

    Is it possible to round the photo too?

    Ah…. Fixed it.

    I had a padding value of 2 which was preventing the rounding!

    So thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Applying a style to images?’ is closed to new replies.