0

enter image description here Explanation

I have a 3 by 2 grid with equal wide columns on my starting page which I created with Page Builder. In each of the cells there is a picture and a button. In different browser sizes the images always use the full width of the column. The buttons however differ from that behaviour. There are certain browser sizes when the button is narrower than the picture which is a pain for the eye.

  • The system is Magent Commerce, ver. 2.4.2-p2
  • I've reproduced this with both Google Chrome and Firefox

My question:

How can I configure the buttons to always use the full width of the column?

asked Sep 1, 2021 at 16:02

1 Answer 1

1

I found the solution: We need to add "min-width: 100%" to the button-item in CSS. Now our solution partner needs to add the min-width to the style sheets. Unfortunately I can not do this in page builder.

enter image description here

Update 20211013:
In the mean time I found a more elegant way to solve the problem in page builder: To get the desired layout and element behavior I need only align appearance attribute of Button element with the value "Stacked" screenshot of button settings

answered Sep 9, 2021 at 14:09

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.