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

Can some one fix this wordpress theme? image aligning....

Discussion in 'Hire a Freelancer' started by billbobi, Aug 14, 2011.

  1. billbobi

    billbobi Regular Member

    Joined:
    Apr 16, 2010
    Messages:
    231
    Likes Received:
    47
    Occupation:
    Professional Snakes and Ladders Player
    Location:
    UK
    The theme is broken.... http://absdietplan.org/

    I want it so that when i insert pictures using wordpress it automatically auto aligns the picture like this:

    http://www.neopets.com/~suxaona

    I dont want to have to use the html tab in wordpress, just the visual tab when working in wordpress.

    Willing to pay if you know the solution

    The theme is called mushblue-10. Please help me fix the theme.

    Thanks
     
  2. -Jericho-

    -Jericho- Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Jan 10, 2010
    Messages:
    2,849
    Likes Received:
    1,704
    Location:
    Stalking My Ex-Wife
    Try putting this in your css:

    Code:
    img.alignright {float:right; margin:0 0 1em 1em}
    img.alignleft {float:left; margin:0 1em 1em 0}
    img.aligncenter {display: block; margin-left: auto; margin-right: auto}
    a img.alignright {float:right; margin:0 0 1em 1em}
    a img.alignleft {float:left; margin:0 1em 1em 0}
    a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
    Then you should be able to control it through wordpress when you load images.
     
    • Thanks Thanks x 1
  3. billbobi

    billbobi Regular Member

    Joined:
    Apr 16, 2010
    Messages:
    231
    Likes Received:
    47
    Occupation:
    Professional Snakes and Ladders Player
    Location:
    UK
    Thanks man it worked! , +rep :)