Page 1 of 1

Card container contents refusing to center on page.

Posted: Tue Jul 14, 2020 9:59 am
by iMatt
I'm experimenting with cards within WB 15.44 at the moment. However, when pacing a group of say four cards in a row within a card container, the container and the cards fail to center within the web page even when I set the page properties to center horizontally. Any ideas? Or is a card container unnecessary?

Re: Card container contents refusing to center on page.

Posted: Tue Jul 14, 2020 10:04 am
by Pablo
It seems to work correct for me.
What are your exact settings?
Do you have a demo project?

Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134

Note that 'center in browser' in the page properties should be off for flexible layouts. This is only for absolute/fixed layouts.

Re: Card container contents refusing to center on page.

Posted: Tue Jul 14, 2020 10:57 am
by iMatt
Okay, here is a copy of the test file for you to have a look at.

http://poetrycards.me.uk/cards test.wbs

Re: Card container contents refusing to center on page.

Posted: Tue Jul 14, 2020 10:58 am
by iMatt

Re: Card container contents refusing to center on page.

Posted: Tue Jul 14, 2020 11:08 am
by Pablo
In the page properties, set page alignment to 'do not center'
If you want to center the cards, then enter a "max-width" otherwise the container will be 100%

Re: Card container contents refusing to center on page.

Posted: Tue Jul 14, 2020 12:02 pm
by iMatt
Hmmm...still not working. Is there an issue with card containers being centered?

Re: Card container contents refusing to center on page.

Posted: Tue Jul 14, 2020 12:27 pm
by Pablo
Everything works correct.
What did you expect to happen?

Re: Card container contents refusing to center on page.

Posted: Tue Jul 14, 2020 12:33 pm
by iMatt
Still not centering on page after following your instructions!

Re: Card container contents refusing to center on page.

Posted: Tue Jul 14, 2020 1:02 pm
by Pablo
I'm sorry, in that case I do not think I understand what you are trying to do.
Can you please update your demo project and remove all other non-relevant content to prevent confusion.
Which part of the layout do you want to center?
What should it look like?
Why are you using a card container in a fixed layout?