The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Vertical Align Working in CodePen, But not in WP
I vertically aligned my text next to my image in CodePen: http://codepen.io/anon/pen/FAvhk
Here’s the problem – when I moved it over to a WordPress page, it decided it didn’t want to behave. I’m using this code in the first text/image combo at this URL: http://wclix.com/ppc/
The image has resized itself to be smaller and it isn’t even vertically aligned.
Not sure why this would happen, can anybody help?
That appears to be the cause.
Thanks, I found it. For anybody who may find this post on the Google machine… I had “max-width: 100%” applied to all my images.
I don’t think you should remove that. Instead, I’d find another way around this. Hint: inline-block