• Is it possible to have auto border using css when posting images? I don’t want to type in class=”border-images” everytime I post image. I know it’s in wp-admin/inline-uploading.php file but don’t know how to edit it ??

Viewing 1 replies (of 1 total)
  • You could add some CSS properties to the CSS file within the theme directory that you are using. You can even change the CSS through WordPress by going to the Presentation -> Theme Editor menu option.

    Here are a couple of options for applying this CSS.

    If you want to simply have ALL images use a border you could try this


    img {
    border: 1px solid #CCCC
    }

    However, this would be applied to ALL images within your theme.

    You could also just apply the same image properties to the class for posts, for example:

    within a class


    .post img {
    border: 1px solid #FFFFFF;
    }

    or even to an ID


    #post img {
    border: 1px solid #FFFFFF;
    }

    There are quite a few options for this actually.

    Hope this helps.
    -NEX

Viewing 1 replies (of 1 total)
  • The topic ‘Border Images’ is closed to new replies.