• gracie-yo

    (@gracie-yo)


    When I add a caption to to images, it creates a hideous grey border that I don’t like. I’ve searched the forums and tried the many suggestions to set the border to 0 in the style.css, but none of them work.

    Help! I am using 2010 Weaver

    Here’s an example:
    https://all-about-anything.com/food-scale

Viewing 4 replies - 1 through 4 (of 4 total)
  • Michael

    (@alchymyth)

    this style in style.css of the theme causes it:

    #content .wp-caption .size-full, #content .wp-caption .size-large, #content .wp-caption .size-medium,
    #content .wp-caption .size-thumbnail, #content .wp-caption .size-thumbnail {
    	background-color:#F1F1F1;
    }
    Thread Starter gracie-yo

    (@gracie-yo)

    I can see it in style.css, but don’t know what to do with it – I’m not technical I’m afraid.

    Michael

    (@alchymyth)

    #F1F1F1 is the color code for grey – change it to a color of your liking – #FFFFFF being white, i.e. ‘invisible’.

    (there is some padding on the image, and together with the background color, this is giving the impression of a border.)

    Thread Starter gracie-yo

    (@gracie-yo)

    That worked – thanks so much!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Grey Border After Adding Link to Image’ is closed to new replies.