Shopify themes, liquid, logos, and UX
I'd like to change the layout of the footer on our site (Mobile view) to horizontal like the Desktop view. Currently the links are aligned vertically to the left. Is it possible to change them to horizontal and centered?
Store URL: https://ivankovatelier.com/
Solved! Go to the solution
This is an accepted solution.
@andrwmai hi,
<style>
ul.footer-block__details-content.list-unstyled {
display: flex;
justify-content: center;
gap: 0px 20px;
flex-wrap: wrap;
}
</style>
This is an accepted solution.
@andrwmai hi,
<style>
ul.footer-block__details-content.list-unstyled {
display: flex;
justify-content: center;
gap: 0px 20px;
flex-wrap: wrap;
}
</style>
@andrwmai
result:
Update code:
<style>
ul.footer-block__details-content.list-unstyled {
display: flex;
justify-content: center;
gap: 0px 20px;
flex-wrap: wrap;
}
ul.footer-block__details-content.list-unstyled li a {
line-height: 7px;
}
</style>
Hi @comercioservice, thank you for replying. Do you mean I should paste the code above the </head> tag (screenshot below)? Because it looks like the tag is at the end of the whole section.
Thank you so much. This works perfectly! Mobile view definitely looks so much better now.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025