Viewing 9 replies - 1 through 9 (of 9 total)
  • In the post editor left click on your image and then select the edit function from the top left corner (it looks a little like a pencil). This allows you to set the alignment for the image.

    Thread Starter Dan33185

    (@dan33185)

    I have it set to center, but once I publish, my site shows it as left aligned.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Which theme has the issue?

    Thread Starter Dan33185

    (@dan33185)

    mts journey

    I have modified some of the CSS, mostly just the colors and stuff. Is there a line of code I might have altered that would affect this? Changing to another theme seems to correct the problem.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Is there any way you could contact your theme’s vendors about this?

    Thread Starter Dan33185

    (@dan33185)

    the theme doesn’t seem to be in the WP database anymore, and the developers website gives me a 404 error

    your theme has this style:

    div.post p img {
    	border: 0px solid #688f9e;
    	padding: 0px;
    	float:center;
    	margin:5px 5px 5px 0;
    }

    this line is interfering with the styles for centering an image:

    margin:5px 5px 5px 0;

    overwite it with (using a ‘custom CSS’ plugin):

    div.post p img.aligncenter {
    	margin-left: auto; margin-right: auto;
    }

    Are you using a child theme or editing the main theme’s style.css file directly?
    What is the link to your site where the issue can be seen?

    Thread Starter Dan33185

    (@dan33185)

    overwite it with (using a ‘custom CSS’ plugin)

    Thank you! That worked perfect, everything is aligned properly now. Thanks for the help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Images don't align properly’ is closed to new replies.