• Resolved baridge

    (@baridge)


    I uploaded a bunch of images and wp automatically put white borders around them, which was kind of annoying that the option wasn’t there but ok.
    Today I uploaded more images and guess what -no borders, and I cannot figure out how to get one now so that it matches all the other ones. Argh. Help me???

Viewing 5 replies - 1 through 5 (of 5 total)
  • Check your stylesheet if it is defining border for images Or share your site url.

    Thread Starter baridge

    (@baridge)

    Thank you. I am not sure what you mean. You can view an example at the below url.

    I tried to add my link but it did not work. It is http://norsar911.org/?page_id=23

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    The images that show a border are ones that you have added a caption to.

    It is because your images have caption text and WordPress defines style for images which have associative caption.

    To remove this:
    1. Open your style.css from your themes folder.
    2. Search term “.wp-caption” and comment your caption style as follows:

    .wp-caption {
    	/*background-color: #f3f3f3;
    	-moz-border-radius: 3px;
    	-webkit-border-radius: 3px;
    	border-radius: 3px;
    	border: 1px solid #ddd;*/
    	margin: 10px;
    	padding-top: 4px;
    	text-align: center;
    	max-width: 490px; /* fit in content_width */
    }
    Thread Starter baridge

    (@baridge)

    Thank you thank you!!! Can’t believe it was that easy.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Images I uploaded used to have a white border’ is closed to new replies.