Images won't center

This topic is: Not resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 6 replies, has 3 voices, and was last updated by  Jacob 2 years ago.

  • Author
    Posts
  • #5172

    ummayana
    Member
    Post count: 7

    I just can’t get any of my images to center align. I didn’t have this problem using previous themes. I’m hoping that someone here can help fix this. It stops me from being able to have an image in the post that is square for posts on social media. You can get an idea of what I’m talking about int his post.

  • #5173

    bradvb123
    Member
    Post count: 7

    Its not the theme…Your images are nested inside <p> tags so the alignment wont work. Either un-nest them or set <p style=”text-align: center;”> for the ones that have images. You could also nest the images in a div and center the div tag using margins and width………

  • #5181

    ummayana
    Member
    Post count: 7

    Is that a common thing that happens when using the wordpress center align option? On newer posts I’ve been center aligning using <div align=”center”></div>. I might not be understanding, but I don’t even see any <p> tags. I really just want a simpler way than adding the code for each post.

    Here’s a newer post if you don’t mind take a look again. Thanks.

  • #5192

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

  • #5200

    bradvb123
    Member
    Post count: 7

    Looks like this is resolved yeah?

  • #5207

    ummayana
    Member
    Post count: 7

    Ok I can see where that can be fixed. What about on new posts though. Why can’t I just set the image to center align, why do I have to add a div code for each image? It seems like this must be because of the theme because it was working fine before now.

  • #5218

    Jacob
    Staff
    Post count: 2312

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!