Boostrap Card grid question
					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
	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
- 
				christ2000
 -  

 - Posts: 83
 - Joined: Tue Dec 24, 2019 2:08 pm
 
Boostrap Card grid question
Hello i am using boostrap card to show data pull from mysql, code work fine but the problem is card are show one bellow the other, and i need to show one next to the other , i don't find a solution for this.
now in my table i have 2 records and page show properly the records
could be any solution to show card next to the other?
thanks
			
			
									
						
										
						now in my table i have 2 records and page show properly the records
could be any solution to show card next to the other?
thanks
- crispy68
 -  

 - Posts: 3103
 - Joined: Thu Oct 23, 2014 12:43 am
 - Location: Acworth, GA
 - Contact:
 
Re: Boostrap Card grid question
You don't specify how the cards are laid out. Are they in a layout grid, flex container or card container? I would think a card container would do what you need.
			
			
									
						
										
						- 
				christ2000
 -  

 - Posts: 83
 - Joined: Tue Dec 24, 2019 2:08 pm
 
Re: Boostrap Card grid question
yes card container
			
			
									
						
										
						- 
				christ2000
 -  

 - Posts: 83
 - Joined: Tue Dec 24, 2019 2:08 pm
 
Re: Boostrap Card grid question
Demo page is here:
https://app1.hrfilecenter.com/wp/page1.php
in demo Personal Support it is bellow Behaviors Therapy so i need next to Behaviors Therapy if i remove rights card, it become full car in row and keep one bellow the other
			
			
									
						
										
						https://app1.hrfilecenter.com/wp/page1.php
in demo Personal Support it is bellow Behaviors Therapy so i need next to Behaviors Therapy if i remove rights card, it become full car in row and keep one bellow the other
- 
				christ2000
 -  

 - Posts: 83
 - Joined: Tue Dec 24, 2019 2:08 pm
 
- 
				christ2000
 -  

 - Posts: 83
 - Joined: Tue Dec 24, 2019 2:08 pm
 
Re: Boostrap Card grid question
Just to clarify card info come from mysql, see html code:
<div id="wb_LayoutGrid1">
<div id="LayoutGrid1">
<div class="row">
<div class="col-1">
<div id="wb_Card1" style="display:flex;width:100%;text-align:center;z-index:16;">
<div id="Card1-card-header">Header</div>
<div id="Card1-card-body">
<div id="Card1-card-item1"><?php echo $record['Title']; ?></div>
<div id="Card1-card-item2">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
<hr id="Card1-card-item3">
<div id="Card1-card-item4">Read More</div>
</div>
<div id="Card1-card-footer">Footer</div>
</div>
</div>
<div class="col-2">
</div>
</div>
</div>
</div>
			
			
									
						
										
						<div id="wb_LayoutGrid1">
<div id="LayoutGrid1">
<div class="row">
<div class="col-1">
<div id="wb_Card1" style="display:flex;width:100%;text-align:center;z-index:16;">
<div id="Card1-card-header">Header</div>
<div id="Card1-card-body">
<div id="Card1-card-item1"><?php echo $record['Title']; ?></div>
<div id="Card1-card-item2">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
<hr id="Card1-card-item3">
<div id="Card1-card-item4">Read More</div>
</div>
<div id="Card1-card-footer">Footer</div>
</div>
</div>
<div class="col-2">
</div>
</div>
</div>
</div>
- Pablo
 - Posts: 23911
 - Joined: Sun Mar 28, 2004 12:00 pm
 - Location: Europe
 - Contact:
 
Re: Boostrap Card grid question
By default, cards will be displayed next to each other in a card container.
In a layout grid the number of columns is fixed, based on your settings.
			
			
									
						
										
						In a layout grid the number of columns is fixed, based on your settings.
- 
				christ2000
 -  

 - Posts: 83
 - Joined: Tue Dec 24, 2019 2:08 pm
 
Re: Boostrap Card grid question
Hello Pablo, i have a card container and a card inside but card are show one bellow the other, remember i get the data from mysql
see the image:

so if i have 2 record in my mysql table, i need this record show in 2 card one next to the other, as i mention now show one bellow the other SEE BELLOW

			
			
									
						
										
						see the image:

so if i have 2 record in my mysql table, i need this record show in 2 card one next to the other, as i mention now show one bellow the other SEE BELLOW

- Pablo
 - Posts: 23911
 - Joined: Sun Mar 28, 2004 12:00 pm
 - Location: Europe
 - Contact:
 
Re: Boostrap Card grid question
I cannot help you with custom code. 
But if you want to display cards next to each other then place them in different grid columns or use a flex container.
			
			
									
						
										
						But if you want to display cards next to each other then place them in different grid columns or use a flex container.
- 
				christ2000
 -  

 - Posts: 83
 - Joined: Tue Dec 24, 2019 2:08 pm
 
Re: Boostrap Card grid question
Thanks but flex container show same bavavior
			
			
									
						
										
						- Pablo
 - Posts: 23911
 - Joined: Sun Mar 28, 2004 12:00 pm
 - Location: Europe
 - Contact:
 
Re: Boostrap Card grid question
Did you set the direction to row?
Here is a demo:
https://www.wysiwygwebbuilder.com/suppo ... ainer.html
			
			
									
						
										
						Here is a demo:
https://www.wysiwygwebbuilder.com/suppo ... ainer.html
- 
				christ2000
 -  

 - Posts: 83
 - Joined: Tue Dec 24, 2019 2:08 pm
 
Re: Boostrap Card grid question
yes this page show both grid and flexbox brho show the same
https://app1.hrfilecenter.com/wp/ourservices.php
i think that i want it is no possible
			
			
									
						
										
						https://app1.hrfilecenter.com/wp/ourservices.php
i think that i want it is no possible
- Pablo
 - Posts: 23911
 - Joined: Sun Mar 28, 2004 12:00 pm
 - Location: Europe
 - Contact:
 
Re: Boostrap Card grid question
I'm sorry, I cannot see what you have done based on the published page.
To be able to help you, I need a demo project.
Note however that I cannot help you with custom code.
			
			
									
						
										
						To be able to help you, I need a demo project.
Note however that I cannot help you with custom code.
- 
				christ2000
 -  

 - Posts: 83
 - Joined: Tue Dec 24, 2019 2:08 pm
 
Re: Boostrap Card grid question
Hello where can i send the demo?
thanks
			
			
									
						
										
						thanks
- Pablo
 - Posts: 23911
 - Joined: Sun Mar 28, 2004 12:00 pm
 - Location: Europe
 - Contact: