Forums › Forums › Bug Reports › Ultimate Blocks button not responsive
Tagged: button
-
Ultimate Blocks button not responsive
-
Since returning from a long break to work on my website, I’ve noticed that one of the buttons on my website is now not responsive on mobile, although the rest of them are? I’ve removed and replaced the button multiple times + copying and pasting a button from a separate post but I’m still getting the same result?
-
Hi @cityanytime ! Anyway, I’ve tested our button block and found an issue that matches your description. We’ll include a fix for it in the next version. While waiting for the fix, here’s some CSS code you may use:
@media (max-width: 599px){ .ub-button-flex-small{ min-width:70%; } .ub-button-flex-medium{
min-width:80%; }
.ub-button-flex-large{ min-width:90%; }
.ub-button-flex-larger{ min-width:100%; } }
You may adjust the max-width value in this code snippet depending on your use case, but make sure that the width of the button in question is set to Flexible.
Please let us know how it goes.
Log in to reply.