Slides not centred in container

michael.docker's Avatar


14 Jun, 2022 10:03 AM

I have a container sized 680 x 504px and a slide sized exactly the same but all slides are showing offset by margins of about 40px and 60px from the left and top of the container. The image's margin-left and margin-top are set to 0.

You can see the effect at

What am I missing?

  1. Support Staff 1 Posted by Dmytro Semenov on 15 Jun, 2022 05:34 PM

    Dmytro Semenov's Avatar


    When embedding the gallery to the page, make sure it's not wrapped in any element. It seems your current gallery is wrapped with a code block.

    Also, set the width of the gallery to 100% rather than 600px if you need it to scale dynamically (width can be set in Size & Scaling section of options).

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac