Tagged: Buttons, CSS, mobile, mobile layout
I laid out my home page buttons side by side with a little extra code, but can’t seem to figure out how to force them to be centered on mobile. What bit of code am I missing?
Thanks.
Hi Veronica!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
@media only screen and (max-width: 767px) {
.avia-button-wrap a, .avia-button-wrap {
display: block!important;
width: 100%!important;
margin: auto!important;
float: none!important;
}}
Best regards,
Yigit
Fantastic, thank you.