I was just wondering how to center an image. When I insert an image using the shortcode it automatically sets the float to none. Is there any way to change the image to center it using the shortcode?
I was just wondering how to center an image. When I insert an image using the shortcode it automatically sets the float to none. Is there any way to change the image to center it using the shortcode?
If you put float="center" into your shortcode, it will add a CSS of "center" to the image. Some WordPress themes will add a text-align to center the image (the default theme does, for example). If it does not center it for you, you can add this to your theme's style.css file.
div.flickr-gallery.image.center { text-align: center }
I have the same problem and I have not understood which files to modify in order to center the image.
Sorry for bad english.
Best regards.
You must log in to post.