WordPress.org

Ready to get started?Download WordPress

Forums

Stop border outline on links (4 posts)

  1. Drawer
    Member
    Posted 7 years ago #

    Spent last 4 hours on this. I hate to ask for help.

    My links and some images have black borders on them. I cannot find how to get rid of them. I can't find any css on links that says there should be any border.

    Anyone know this? Please?
    http://www.donnabarstow.com/WordPress

  2. After playing with the CSS I found out that

    #main a{color:#006666;}

    Is the section of code in your CSS that is controlling the border color of your images. Try changing the color to the same as the background or try deleting that part of the CSS out of the style sheet.

  3. Drawer
    Member
    Posted 7 years ago #

    Jeffro, thanks, tried taking that line out, but the outline around the link & images (as well as every not-outlined link on the page) just turned the usual bright blue.

    I can't find one line in any file of this theme that pertains to links or images having a border or outline. Why would this happen to certain links? Can someone take a peek at this? The alt for these says "Direct link to file." Why would these links be treated differently?

    Thanks for your experience, as I have none.

  4. Ok. I think I have finally figured out the problem. Look for

    #content p img {
    	margin-right: 8px;
    	float: left;
    }

    In your CSS stylesheet and add this line to it

    border:0px;

    That should make the borders around the images in your content disappear entirely.

Topic Closed

This topic has been closed to new replies.

About this Topic