How to move image position within a block

Permalink
Hello,

I have added an image block. Added an image to the block. However the image is fixed on the far left side of the block. I want the image to be in the centre of the page. I see no option to do so. Keep in mind this is my second day using KK5.

Thanks

( See attached )

1 Attachment

melange
 
dimidola replied on at Permalink Reply
dimidola
Not a great solution, but you could add a content block instead and add the picture there and center it.
siton replied on at Permalink Reply
siton
I love this solution :) I think this is the short/easy way.

Option 2 by css:
copy - paste this code to some online html editor (or search for another css idea by google)
<div>
  <img src="http://lorempixel.com/400/200/" style=" display : block;
    margin : auto;">
</div>

Now: You can add this style by "custom template" or create CSS style class and then add this custom class to the block (edit block and you see "custom class")
https://www.youtube.com/watch?v=xI8dUNAc6fU...