Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #19478

    I have a page with some text thats centred.

    I’ve added an image to the image gallery and selected ‘image list attached to the gallery’ to make the image appear under the text.

    However the image isn’t centered with the text. I have selected centre in the alignment option but its still aligning to the left.

    How do I make the gallery image centred?




    Hi Toluco,

    This will only work on this page since I need to target the image and define a width for it to auto center it; Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files: .avia_embed_image {
    margin: 0 auto;
    width: 430px;

    Regular paragraph centering wont work since its a set of divs and in order for the auto left and right margin to work a width has to be defined. If you wanted this to act in the same way on another page and its only a single image you could also just insert the image into the visual editor which will give you full control over positioning.



Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Centre image in page's gallery’ is closed to new replies.