change image border

  • Unknown's avatar

    How do you remove an image border? Our theme displays all images with a border. We do not want images to have borders.

    I’m adding the following CSS to the CSS customization pane:

    img {
    border-style: none;
    }

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there, you are on the right track. The red border is on the caption rather than the image itself, so use the following instead.

    .wp-caption {
        border: none;
    }

    I took a look at the demo site for Able and the images themselves (without captions) don’t appear to have borders. If you run into any caption-less images that have borders, the code you have would work for them.

  • The topic ‘change image border’ is closed to new replies.