how to automatically center content in a light box
Posted: Thu Oct 06, 2022 4:59 pm
hello,
the content of my light box is a page(linkted) that only contains a card with links (full page, no layer)
property of the page: center horizontally and vertically in the browser window.
there are breakpoints so that the card adapts to different screens.
but once published the content of the light box is not centered (vertically, horizontally) according to the different screen sizes.
the light box is set to fancybox in the properties of the 2 pages.
I did not find options in : http://fancybox.net/api.
thank you if you find me a solution,
Mariasol
ps: sorry if my english is not good but i am french speaking
the content of my light box is a page(linkted) that only contains a card with links (full page, no layer)
property of the page: center horizontally and vertically in the browser window.
there are breakpoints so that the card adapts to different screens.
but once published the content of the light box is not centered (vertically, horizontally) according to the different screen sizes.
the light box is set to fancybox in the properties of the 2 pages.
I did not find options in : http://fancybox.net/api.
thank you if you find me a solution,
Mariasol
ps: sorry if my english is not good but i am french speaking