I have tried every solution that I am aware of to get these two footer elements to display side-by-side on mobile. I have three footer widgets on a wordpress site (www.med-tac.com) and I am trying to reorder and re-align them on mobile using the @media approach for my screen size.
I am trying to get 1 and 3 on the same line and have tried adjusting the other properties to get it to work, but am now working with flexbox to try to accomplish this, but would be happy to revert to any solution that works.
I have tried the grid layout, the float left and float right approach, the flexbox approach and the display inline block approach, none of which will display the elements on the same line, even when the width is manually decreased to far less than the mobile footer width.
@media (max-width: 480px){
.secondary {
display:flex;
flex-flow: row wrap;
}
#footer-sidebar1 {
margin-top:-5px;
top:5px;
order:2;
}
#footer-sidebar2 {
margin-right: 20px !important;
right: 10px;
width:325px !important;
bottom:25px;
order:1;
}
#footer-sidebar3 {
order:3;
}
}
I am trying to get sidebar 1 and 3 to display side-by side on the same line, but they are wrapping on top of each other.