Make footer menu and description centred mobile only

Hello,

Does anyone know the code to make the menu and description in the footer of my website centred in mobile ONLY?

TIA

url: www.crababblecrafts.com

password: abble

1 Like

Hi @KJD_1

Try this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@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!

1 Like

Hello! Thank you, that mainly worked but it is still slightly off centred. Any thoughts on why that. might be?