Archived topic
Buttons
6 replies · Started by John on March 30, 2023
Hi Support !
I have all sorts of buttons on my site.
However, users have to click on the term
in red-orange within the button in order
to be sent to the next page.
See: http://www.understand-culture.com
Is it possible to set up the buttons so
that the user can click on any part of
the button, and not just on the clickable
term?
Thanks.
Hi John,
I'm a bit confused.
The "buttons" you are referring to are just containers.
Have you considered to actually use the Button block to create the buttons?
https://docs.generateblocks.com/article/button-overview/
Let me know if I'm missing something here.
That was fast. Thanks, Leo.
I was unsure about how to use buttons.
Let me look at what you sent me.
John
Hi Leo,
Ok, I've spent some time on Buttons.
I figured everything out, except how
to align several buttons horizontally,
the way I can with containers within
a grid.
For my current application the only
advantage of buttons are that the user
can click anywhere on the button and be
redirected, whereas the user has to
click precisely on the linked-word within
a container in order to be redirected.
John
Hi John,
You can set width/max-width/min-width for the button blocks.
The value can be % or a number.
Thanks, Ying, but how do I line them
up next to each other horizontally?
I there a way to back them into a grid?
I suspect not.
John
You can wrap a container block for the button blocks, set the container to display:flex, it gives you the align-items and justify-content options for vertical and horizontal alignment.