Change the "padding" of images on posts ... help.

Discussion in 'HTML & Website Design' started by Sweet101, Feb 28, 2010.

  1. #1
    Hey, everyone knows you can change padding for text. But I want to change the "padding" or margin (not sure what to call it) of the images. I noticed there's a restriction of the image size on my theme, even though there's stil alot of space in the post to make the image bigger. So, I want to make the padding of images smaller so the images can be bigger on my post, how do I do that?

    If it's important my wordpress theme is Cordobo Green Park 2
     
    Sweet101, Feb 28, 2010 IP
  2. computer_repair

    computer_repair Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    my guess is that you are using a script such as joomla or wordpress.. if so, try looking in the admin panel for image configuration and adjust it as needed.
     
    computer_repair, Mar 1, 2010 IP
  3. digital29

    digital29 Peon

    Messages:
    462
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If your post div has a class of "post", then the css is below
    .post img { padding: 10px } (or whatever you want)
     
    digital29, Mar 1, 2010 IP
  4. longcall911

    longcall911 Peon

    Messages:
    1,672
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes you can do that, but you need access to the CSS page. Are you experienced enough to find the CSS, download it, modify it, and upload it? If so, follow what digital29 above says.

    If not, there's probably no easy way for you to do it.

    /*tom*/
     
    longcall911, Mar 1, 2010 IP