www.webdeveloper.com
Results 1 to 4 of 4

Thread: WordPress Issue

  1. #1
    Join Date
    Oct 2009
    Posts
    42

    WordPress Issue

    Could anyone tell me how to edit image formatting in Wordpress? Here's how images currently look (man in suit, surfing) click here.

    I'd like to get rid of the grey background and the small black border around the outside. Any help is greatly appreciated!

  2. #2
    Join Date
    Jun 2009
    Posts
    127
    You can download the image on your local machine and edit it with any image editing software and change it and then reupload the image into your wordpress.

  3. #3
    Join Date
    Dec 2005
    Posts
    2,984
    For future reference, thewebhostinggdi, you may want to try to address the question that is actually being asked.

    The grey background and black border come from styling of the div element that the image is in. If you remove wp-caption from the class of the div element, then it will remove the border and background.

    What it looks like now:
    HTML Code:
    <div id="attachment_68" class="wp-caption alignright" style="width: 186px">
        <a rel="attachment wp-att-68" href="http://jesusfreesyou.org/blog/2010/02/revitalize-your-walk-with-god/pic_surfing_guy_web_design/">
           <img class="size-full wp-image-68" title="pic_surfing_guy_web_design" src="http://jesusfreesyou.org/blog/wp-content/uploads/2010/02/pic_surfing_guy_web_design.jpg" alt="Jesus Frees You!" width="176" height="249" />
        </a>
        <p class="wp-caption-text">Jesus Frees You!</p>
    </div>
    What you want it to look like:
    HTML Code:
    <div id="attachment_68" class="alignright" style="width: 186px">
        <a rel="attachment wp-att-68" href="http://jesusfreesyou.org/blog/2010/02/revitalize-your-walk-with-god/pic_surfing_guy_web_design/">
           <img class="size-full wp-image-68" title="pic_surfing_guy_web_design" src="http://jesusfreesyou.org/blog/wp-content/uploads/2010/02/pic_surfing_guy_web_design.jpg" alt="Jesus Frees You!" width="176" height="249" />
        </a>
        <p class="wp-caption-text">Jesus Frees You!</p>
    </div>
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...
    awesome.

  4. #4
    Join Date
    Oct 2009
    Posts
    42

    Issue Resolved

    Thank you, aj_nsc! I appreciate you answering the question and for being so thorough!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles