Image Centering
Permalink
Is there a way to center an image within an image block with having to go into the code?
Thanks pixeljunkie. hmmm I tried that. Not very friendly I guess css is the best way to really control it. Looks like this has been an issue for awhile now.
If its worth anything, I added a 3 column layout, put my image in the center column, left the outside columns blank. Seems to work and maintains responsiveness. Anyway for what its worth!
You could make a CSS class and put that class on the image in a "template" of the "Image" block type. That way images are still added through the "Image" block type and changed with the same block type. No manually setting classes, just select the template and you're done.
P.s. If you do it this way and add you even add an anchor to the image, you can apply the css class to the anchor instead. It will then still center AND have an anchor on it. Win-win!
P.s. If you do it this way and add you even add an anchor to the image, you can apply the css class to the anchor instead. It will then still center AND have an anchor on it. Win-win!
Thanks ill give it a shot.
You can include the image within the content-block and set alignment to "center". Otherwise, you will need to got through css.