Page 1 of 1
Card fixed width
Posted: Tue Dec 22, 2020 12:31 pm
by colin1661music
Does, anyone know why when I set the width of cards to 150 they are wider see
http://transformeurope.com/BBA/members/
I'm trying to create a list of 50 members as cards. I'm using a card container in carddock mode, I don't want to use a grid layer because I want to quickly add and remove individual members.
Thanks Colin
Re: Card fixed width
Posted: Tue Dec 22, 2020 12:47 pm
by Pablo
I cannot see what you have done based on the published HTML.
To be able to help you, I need a demo project file so I can see all your settings.
Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=82134
Re: Card fixed width
Posted: Tue Dec 22, 2020 4:10 pm
by colin1661music
Re: Card fixed width
Posted: Tue Dec 22, 2020 6:23 pm
by Pablo
The max-width value is only useful if the 'full width' property is set to 'true', otherwise it will be ignored.
You can also use a flex container instead (a card container is basically a simplified flex container with overridden flexbox properties).
When using a flex container, you can use the flex box properties to set a fixed width via the 'flex-basis' property. For example: 150px
Re: Card fixed width
Posted: Tue Dec 22, 2020 8:36 pm
by colin1661music
Thanks, I set them all to full width true, and it works fine, not something I would have thought of doing. Might be worth greying that option out is full width is set to false. Just need to tweak it so 2 show on mobile.
It's important to keep them in one layer so its easy to add and remove them and keep them in alphabetical order.
http://transformeurope.com/BBA/members/
Thanks again for your amazing program and support.