Hello Pontus,
Usually, when you enable to wrap option of the bar flex settings, the containers will collapse automatically collapse when there is not enough space for the containers to fill the entire area:
The easier option would be to create two bars where one will be for the desktop and one will be for the mobile. This is because you do not need to add any more custom codes to be able to make the footer responsive. All you have to do is set the flexbox child placement for the mobile footer bar to column so that the containers will be displayed stacked to each other. The footer alignment is done through CSS flexbox without any Javascript.
Another option you can try is to add a custom CSS code to the bar that will target the mobile screen width and set the flexbox direction to column like this:
@media (max-width: 767px) {
$el.x-bar $el.x-bar-content {
flex-direction: column !important;
flex: 1 1 100% !important;
}
}
If you are still not able to make the footer items responsive, please provide the URL of the site in question so that we can check it.
Hope this helps.