-
afuente
hello,
i´m not able to center a container with it´s gallery. I tried block, inline, flex everything.
Maybe you could have a look….
The url is https://www.casajavier.com/galeria
there are currently a redirection for not loged in users….
-
David
Hi there,
select the inner Container Block.
In Spacing -> Left Margin & Right Margin type:
auto
In Sizing -> Max Width set a value eg. 1000px -
afuente
hello,
thanks for your reply.
The max width propety doesn´t work, at least in this case… i have to use the width property….
-
Fernando
That’s odd.
max-width
should work. Can you explain a bit more about what happens when you add a max-width as opposed to a width?Take note that if you add width, you need to consider the width for tablet and mobile as well so that your Block doesn’t go over the screen.
-
afuente
nothing happens when I add max-width…
-
Fernando
Can you leave the edit page temporarily? I’ll check what’s happening. Set the max-width and leave the width setting empty.
-
afuente
sorry, sure. i leaved 😉 you can also force to enter. you can not damage nothing 😉
-
Fernando
Can you set a max-width value first?: https://share.getcloudapp.com/d5ugDnZz
Also, are you able to access this page? I’m not able to access the page on the front end.
-
afuente
I did it already and it didn´t work. Thats why I set the width value….
To access to the front end, mayby the cache of your browser. (https://www.casajavier.com/galeria)
The front end is only accesible if you are logged in…. -
Fernando
I see. Set the Parent Container to display: block. Then, set the max-width as opposed to just width. That should work.
-
afuente
ok. great. thanks;-)
-
afuente
great. it works. one question: would it be possible to create a similar gallery with generateblocks, including the lightbox popup?
-
GenerateBlocks has no lightbox, so you would need a plugin for that, so best to use a gallery plugin that supports that
- You must be logged in to reply to this topic.