WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Manifest theme Center Image. (different width for one post) (8 posts)

  1. manumelm
    Member
    Posted 10 months ago #

    Hello,

    my width is set to 600px.
    And thats great because 90% of the photos i upoload are 600px.
    But from time to time i want a photo bigger.
    Like 720px.

    But how do i center it? no matter what i do alignmiddle or center or whatever its always like right or left but never in the middle :(

    I am talking about the latest post on top.
    here is my blog:
    http://www.manuel-braun.com/blog

  2. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    Where did you get this theme? Does not seem to be here:

    http://wordpress.org/themes/search.php?q=manifest

    Please ask the developers/vendors for help as these forums only support themes from WordPress.ORG.

  3. manumelm
    Member
    Posted 10 months ago #

    got it from here:
    http://themes.jimbarraud.com/manifest/

    damn. still not even a hint?

  4. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    This is really a CSS question - this might be helpful:

    http://www.w3.org/Style/Examples/007/center.en.html

    The post dated today shows 2 images side by side - so I'm not sure what you are asking about.

  5. Evan Herman
    Member
    Posted 10 months ago #

    a hint?

    margin: 0 auto

    will center elements with a set width

  6. manumelm
    Member
    Posted 10 months ago #

    yes it shows two photos. but its one jpg.
    the gap between the two photos is the middle of the jpg.
    and it would be so nice if the middle would be in the middle of the column.

  7. WPyogi
    Volunteer Moderator
    Posted 10 months ago #

    Since that photo is wider than the containing element, the usual center isn't going to work - you'd need to set a negative left margin so it "sticks" out on the sides.

    Also, <center> is deprecated code so best to avoid that - isn't working here anyway.

    <center>
    <img class="alignnone" width="718" height="366" title="feld" src="http://www.manuel-braun.com/photos/blog/feldblog.jpg" alt="">
    </center>
  8. manumelm
    Member
    Posted 10 months ago #

    THANKS! SOLVED!

    <img alt="" style="margin-left:-50px" src="http://www.manuel-braun.com/photos/blog/feldblog.jpg" title="feld" width="718" height="366" />

Reply

You must log in to post.

About this Topic