WordPress.org

Forums

How do I get rid of the black border around all my images? (6 posts)

  1. davidaka
    Member
    Posted 4 years ago #

    My site is http://www.theaugustan.com and all my images have a black border around then. Does anyone know how to get rid of them?

  2. alchymyth
    Forum Moderator
    Posted 4 years ago #

    edit this style in style.css of your theme:

    a:link img, a:visited img, a:active img {
    	border: 3px solid #000000;
    }
  3. mentalist3d
    Member
    Posted 4 years ago #

    Just in case you don't know CSS, change the above code to

    Remove Border Completely

    a:link img, a:visited img, a:active img {
    	border: none;
    }

    Change Colour & Line Thickness

    a:link img, a:visited img, a:active img {
    	border: 3px solid #000000;
    }

    Line Thickness: 1px, 2px, etc
    Colour: Change the Hex value (#000000) to the Hex value of the colour you want. A list of HEX values and the corresponding colour can be found at: http://cloford.com/resources/colours/500col.htm

  4. davidaka
    Member
    Posted 4 years ago #

    Thank you sooooooo much!

  5. davidaka
    Member
    Posted 3 years ago #

    Now the border shows up when I use a PC or any other browser except Safari, I use a MAC which doesn't show the border. How do I make this correction so that the Border is REMOVED no matter what Browser or system I am using.

    Website: http://www.theaugustan.com

  6. alchymyth
    Forum Moderator
    Posted 3 years ago #

    for some reason, i can't find the original style anymore in your style.css:

    try and add:

    a img, a:link img, a:visited img, a:active img {
    	border: none;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic