WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Applying a style to images? (4 posts)

  1. smithgt
    Member
    Posted 1 year ago #

    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

  2. Khalid Al-Aydeross
    Member
    Posted 1 year ago #

    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;

  3. smithgt
    Member
    Posted 1 year ago #

    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?

  4. smithgt
    Member
    Posted 1 year ago #

    Ah.... Fixed it.

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

    So thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic