Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #15906

    I’ve noticed that images added to page as portfolio items have rounded coners but images added as regular images don’t have them. Is there a way to apply rounded corners to other images as well?

    #89448

    Hi!

    Add following code to css/custom.css or the quick css field:

    #top .entry-content img {
    border-radius: 4px;
    }

    Regards,

    Peter

    #89449

    Didn’t work, images still don’t have rounded corners.

    #89450

    Hi!

    Can you post a link to a sample page?

    Best regards,

    Peter

    #89451
    #89452

    Hi Signum,

    Add margin: 0; and padding: 0; to the code Peter gave you above. So it would look like this:

    #top .entry-content img {
    border-radius: 4px;
    margin: 0;
    padding: 0;
    }

    I noticed though that even when you add this the right side of the image is cut off due to the use of two columns. So you may want to reduce the size of your images to 280 or 295 as opposed to 300 that way the rounded corners will appear on the right side as well.

    Regards,

    Mya

    #89453

    It worked, thanks a lot. ;)

    #89454

    Hey,

    Glad it worked.

    Regards,

    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Adding rounded corners to images’ is closed to new replies.