1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress Help

Discussion in 'BlackHat Lounge' started by SpellZ, Mar 5, 2010.

  1. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    These are the files that I have

    [​IMG]


    Whenever I post an image inside the post, it automaticlly ads a white border around it, where can it be so I can remove it?

    + When I post a video.. the white border doesn't appear
     
  2. jonzep

    jonzep Newbie

    Joined:
    Feb 9, 2008
    Messages:
    14
    Likes Received:
    5
    It should be in your Stylesheet (style.css) .
     
  3. Mysticus

    Mysticus Newbie

    Joined:
    Jul 14, 2008
    Messages:
    42
    Likes Received:
    53
    Occupation:
    Internet Marketer & Web Developer
    In stylesheet (style.css), search for these classes:

    Code:
    .wp-caption
    Code:
    .wp-caption img
    and remove the border property rule.
     
  4. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    My style.css is empty lol

    This is all it has


    Yeeee LOL
     
  5. cheva

    cheva Junior Member

    Joined:
    Aug 22, 2009
    Messages:
    117
    Likes Received:
    54
    Location:
    Aiur
    post or pm ur link... there has to be css sumwhere.. so go thru ur files.. or tell us the name of the theme ur using
     
  6. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    OKAY FOUND IT!

    What do I type in to get rid of the border COMPLETLY
     
  7. cheva

    cheva Junior Member

    Joined:
    Aug 22, 2009
    Messages:
    117
    Likes Received:
    54
    Location:
    Aiur
    the border bit is what makes the 2 px border with #fff (white)

    so u can either change it to some other color #000 is black for example or jus get rid of it.


    edit*

    dun change .pict {

    and whatever follows.

    get rid of this .main-content IMG {border: 2px solid #fff;} that shud do the trick.
     
    Last edited: Mar 5, 2010