Card container contents refusing to center on page.

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
iMatt
 
 
Posts: 89
Joined: Mon Nov 25, 2013 2:03 pm

Card container contents refusing to center on page.

Post by iMatt » Tue Jul 14, 2020 9:59 am

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?

User avatar
Pablo
 
Posts: 22201
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Card container contents refusing to center on page.

Post by Pablo » Tue Jul 14, 2020 10:04 am

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.

iMatt
 
 
Posts: 89
Joined: Mon Nov 25, 2013 2:03 pm

Re: Card container contents refusing to center on page.

Post by iMatt » Tue Jul 14, 2020 10:57 am

Okay, here is a copy of the test file for you to have a look at.

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


User avatar
Pablo
 
Posts: 22201
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Card container contents refusing to center on page.

Post by Pablo » Tue Jul 14, 2020 11:08 am

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%

iMatt
 
 
Posts: 89
Joined: Mon Nov 25, 2013 2:03 pm

Re: Card container contents refusing to center on page.

Post by iMatt » Tue Jul 14, 2020 12:02 pm

Hmmm...still not working. Is there an issue with card containers being centered?

User avatar
Pablo
 
Posts: 22201
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Card container contents refusing to center on page.

Post by Pablo » Tue Jul 14, 2020 12:27 pm

Everything works correct.
What did you expect to happen?

iMatt
 
 
Posts: 89
Joined: Mon Nov 25, 2013 2:03 pm

Re: Card container contents refusing to center on page.

Post by iMatt » Tue Jul 14, 2020 12:33 pm

Still not centering on page after following your instructions!

User avatar
Pablo
 
Posts: 22201
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Card container contents refusing to center on page.

Post by Pablo » Tue Jul 14, 2020 1:02 pm

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?

Post Reply