Allign buttons of Cards in Card Container - RESOLVED

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
onlye
 
 
Posts: 370
Joined: Sun Jun 17, 2018 12:36 am
Location: Gluckstadt, MS USA
Contact:

Allign buttons of Cards in Card Container - RESOLVED

Post by onlye »

I have a card container with 4 cards in wide views and 2 cards on 2 rows in narrow views. The cards have a button to link to the detail page in the site. Is there a way to have the "Read More" buttons lined up horizontally?

I also tried using text in a footer and it looks nice but I can't make a link from the footer.

https://www.onlye.org/postweb/jjts/

To change from 4 cards per row to 2 cards per row as the view width narrows I created 2 card containers with 2 cards each and used variants to make the 4x container or the 2-2x containers visible. It there a way to have a card container wrap from the 4x cards to the 2-2x cards at a breakpoint and then stack them using the regular breakpoint setting? Or is what I did the correct way to do this?

thanks!
Last edited by onlye on Sun Jun 28, 2020 3:19 pm, edited 1 time in total.
onlye
Gluckstadt, MS USA
User avatar
Pablo
 
Posts: 21716
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Allign buttons of Cards in Card Container

Post by Pablo »

yes, this is possible:
https://www.wysiwygwebbuilder.com/suppo ... align.html

- make sure the 'Read More' button is the last card item
- use a negative bottom-margin, for example -20
This causes the button to align 20 pixels from the bottom of the card.
User avatar
onlye
 
 
Posts: 370
Joined: Sun Jun 17, 2018 12:36 am
Location: Gluckstadt, MS USA
Contact:

Re: Allign buttons of Cards in Card Container

Post by onlye »

Pablo - THANKS!

Buttons fixed and look as desired

Second question:

To change from 4 cards per row to 2 cards per row as the view width narrows I created 2 card containers with 2 cards each and used variants to make the 4x container or the 2-2x containers visible. It there a way to have a card container wrap from the 4x cards to the 2-2x cards at a breakpoint and then stack them using the regular breakpoint setting? Or is what I did the correct way to do this?
onlye
Gluckstadt, MS USA
User avatar
Pablo
 
Posts: 21716
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Allign buttons of Cards in Card Container - RESOLVED

Post by Pablo »

You can use flexbox properties to control the layout behavior of the cards.
http://wysiwygwebbuilder.com/flexbox.html

For example, set the flex basis of the card to 50% to let it take up 50% of the width.
Post Reply