Archived topic
Buttons stacking on mobile
5 replies · Started by Austin on March 26, 2021
Hello - I'm using the generate press buttons block and I have the social buttons in the footer set to stack on desktop, but not on mobile. However they are still stacking on mobile. Any advise?
Hi there,
Try this CSS:
@media (max-width: 768px) {
.site-footer .gb-button-wrapper-b0e77445 {
flex-direction: row;
justify-content: space-between;
}
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
That worked. Thank you Leo!
However, is that a bug or something? Shouldn't the buttons be horizontally if the "Stack Vertically" toggle is off?
Yup that is bug we are aware of already:
https://github.com/tomusborne/generateblocks/issues/52
Glad that it is being worked on.
Thank you.
No problem :)