Hello,
Does anyone know the code to make the menu and description in the footer of my website centred in mobile ONLY?
TIA
password: abble
A user seeks CSS code to center footer menu items and descriptions on mobile devices only for their Shopify store (www.crabbabbleecrafts.com).
Solution Provided:
text-align: center to footer headings and contentjustify-content: center to footer menu itemsCurrent Status:
The solution mostly works, but the original poster reports the centering is slightly off. The issue remains unresolved with no follow-up explanation yet provided for the alignment discrepancy.
Hello,
Does anyone know the code to make the menu and description in the footer of my website centred in mobile ONLY?
TIA
password: abble
Hi @KJD_1
Try this one.
@media only screen and (max-width: 749px){
.footer-block__details-content.rte p {
text-align: center;
}
h2.footer-block__heading {
text-align: center;
}
.footer-block.grid__item.footer-block--menu.desktop-align-right a {
justify-content: center;
}
}
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hello! Thank you, that mainly worked but it is still slightly off centred. Any thoughts on why that. might be?