Viewing 5 replies - 1 through 5 (of 5 total)
  • Vamsi

    (@mannemvamsi)

    border property is not supported in HTML5.
    In your stylesheet either remove border property or make it none

    body.page .hentry img, body.single .hentry img {
        padding: 7px;
        border: solid 1px #dddddd; /* REMOVE THIS */
    }

    Thread Starter rairose

    (@rairose)

    I can’t find that code. There are 19 css files for this theme 🙁

    Vamsi

    (@mannemvamsi)

    Line 229

    http://www.youracademicassistant.com/wp-content/uploads/montezuma/style.css

    It’s not a good idea to edit the theme files directly, as you’ll lose those changes if the theme is ever updated in the future, to fix bugs or security issues or to add new features. Instead, you should use this code in a custom CSS plugin or your theme’s built-in custom CSS option, if one exists:

    body.page .hentry img, body.single .hentry img {
    	border: 0;
    }
    Thread Starter rairose

    (@rairose)

    It worked!!! Thank you, Stephen!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why won't my image border go away?’ is closed to new replies.