Support » Fixing WordPress » Applying a style to images?

  • Resolved smithgt

    (@smithgt)


    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)
  • Khalid Al-Aydeross

    (@khalid-al-aydeross)

    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;

    smithgt

    (@smithgt)

    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?

    smithgt

    (@smithgt)

    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 ‘Applying a style to images?’ is closed to new replies.