Have buttons below each other, not side by side?

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
alan_sh
 
 
Posts: 1820
Joined: Tue Jan 01, 2019 5:50 pm

Have buttons below each other, not side by side?

Post by alan_sh »

I have three small buttons in a cell of a layour grid. When the cell is wide enough, the buttons appear aide by side. Is there any way to keep them on top of each other (so they are always vertically spaced and never horizontally spaced)?

This is an example of what I DON'T want:

Image

This is what I want to see at any screen size:

Image

Thanks for any help.
User avatar
Pablo
 
Posts: 23225
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Have buttons below each other, not side by side?

Post by Pablo »

Button are 'inline' elements so they are always on the same row unless they are full width.

If you put the buttons in a flex container then you can set the flex direction to 'column'
For layout grids, you can insert a full width spacer (for example a horizontal line) between the buttons.
alan_sh
 
 
Posts: 1820
Joined: Tue Jan 01, 2019 5:50 pm

Re: Have buttons below each other, not side by side?

Post by alan_sh »

Thanks Pablo - yes, I've put a full width set of spaces - that will do for now. I'll look into using a flex container for future work.

Alan
bkjohns
 
 
Posts: 303
Joined: Wed Nov 14, 2018 5:54 pm

Re: Have buttons below each other, not side by side?

Post by bkjohns »

Or you could use 3 LGs with one button each.
alan_sh
 
 
Posts: 1820
Joined: Tue Jan 01, 2019 5:50 pm

Re: Have buttons below each other, not side by side?

Post by alan_sh »

bkjohns wrote: Tue Nov 28, 2023 7:57 pm Or you could use 3 LGs with one button each.
No, that won't work when the break point comes, assuming you have multi cell layout grids with the buttons in one of them (which I do)

Alan
Post Reply