WordPress.org

Ready to get started?Download WordPress

Forums

Very Simple Fix, need help (2 posts)

  1. racino
    Member
    Posted 2 years ago #

    I am driving myself nuts trying to find something I changed in a code... can someone please help? My webpage has a background image with a thick border around it, and if I delete the background image, the border is still there. Can someone please tell me what file I need to find in my FTP site to change the border back to zero? It should be an easy fix for someone who knows coding. Website is http://www.bradracino.com if you want to look at the source code, otherwise, here is the piece of the code that deals with that part of the page:

    </div><!-- #nav -->

    <div id="main">

    <div id="content">
    <div class="column column-wide">

    <div class="post-802 page type-page status-publish hentry" id="post-802">

    <h2 class="post-title"></h2>

    <div class="post-entry">
    <h4 style="text-align: left;"><span style="color: #333333; font-family: 'times new roman';">
    </span></h4>
    <p><img class="size-full wp-image-925 aligncenter" style="border: 10px solid black;" title="BradRacinoProduce" src="http://bradracinophotography.com/wp-content/uploads/2011/10/body-background1.jpg" alt="" width="750" height="364" /></p>
    <div class="clearfix"></div>
    </div><!-- .post-entry -->

    thanks!

  2. Lorelle
    Member
    Posted 2 years ago #

    It's right there in the bold part of the code you just displayed.

    style="border: 10px solid black;"

    Since it is in the post, it looks like it has been manually added. Remove that and the border should be gone.

    If you delete the image with the border style, and you still see the border, something is adding it through the stylesheet or a Plugin. Go through your stylesheet and look for IMG and BORDER and see if you find something putting that in.

    I did a quick inspection of the Theme's core stylesheet and found nothing.

    In the future, could you please post to the forums using a more appropriate post title like "Image border issue" or something more descriptive. It helps to attract the people with the right resources to help you. This applies to the web in general. :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags