WordPress.org

Ready to get started?Download WordPress

Forums

Set default alignment of photos (14 posts)

  1. ifreak
    Member
    Posted 2 years ago #

    Hi!

    Someone know how to set default alignment of a photo/picture? When I upload a picture to my wordpress blog, I has to set the alignment manually. This is a problem when i blog from the wordpress app for iphone.
    I want the alignment to automatically be set to center.

    I use twenty eleven 1.3 with a child theme.

    Sorry for my english.
    Thanks!

  2. deepbevel
    Member
    Posted 2 years ago #

    You can preset a centered alignment in the media library image settings, pretty sure if you set it for one it will apply to the others untill it's changed again.

  3. YouON
    Member
    Posted 2 years ago #

    setting it via css?
    something like..

    div.post img { margin:0 auto; }

  4. ifreak
    Member
    Posted 2 years ago #

    It would'nt work :(

  5. deepbevel
    Member
    Posted 2 years ago #

    Don't have an iphone so i can't troubleshoot.

  6. ifreak
    Member
    Posted 2 years ago #

    When I publish from the iphone, the picture moves to the left of the post. I want it to be placed in the center of the screen.

    When I publish from the web, it will set to center. But I can't do that from the iphone.

    Someone know what I can do?

  7. deepbevel
    Member
    Posted 2 years ago #

    May just be a limitation of the app, you might consult it's documentation.
    I read a bit about it, you'll get different results from different browsers, I read where someone set the image alignment to "none" in the media library image settings and it centered in most browsers.

  8. ifreak
    Member
    Posted 2 years ago #

    I can't find some settings in the app.

  9. deepbevel
    Member
    Posted 2 years ago #

    just to be clear, I was talking about the wp media library settings, Maybe if you set it to align none, insert an image in a post, then delete the post. Your settings should stay at align none untill it's changed again. I had suggested trying the same for align center.

  10. ifreak
    Member
    Posted 2 years ago #

    How can I do that in a child theme? Must I edit the twenty eleven theme?

  11. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Please provide a site link of post with img to left and one centered.

  12. ifreak
    Member
    Posted 2 years ago #

    Here is the link: http://fuzzh.net/

    The first picture is left, and the second is centered.

    Ps. the page is a Norwegian page :)

  13. deepbevel
    Member
    Posted 2 years ago #

    How can I do that in a child theme? Must I edit the twenty eleven theme?

    No editing, just create a post and insert an image, if you haven't tried it yet, try "align center", if no joy, try "align none".

    this SHOULD pre set the image alignment untill you change it again. Hopefully it applies to your iphone posts.

  14. ifreak
    Member
    Posted 2 years ago #

    I should try, thanks for help! :)

Topic Closed

This topic has been closed to new replies.

About this Topic