Center Footer content on mobile in Trade theme

Center Footer content on mobile in Trade theme

MLCNZ
New Member
9 0 0

Looking to center all content in the footer on mobile only in the trade theme

 

site not live or mapped to domain as yet

 

https://43bc2a-54.myshopify.com/

Replies 3 (3)

PageFly-Richard
Shopify Partner
4971 1112 1795

 

Hi @MLCNZ 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
@media (max-width: 767px) {
.footer-block.grid__item {
text-align: center;
}
}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

MLCNZ
New Member
9 0 0

Thank you Both, 

Have tried both codes but it only centered the heading and text (p) sections. Is it possible to center the company information including social icons, and menu items. 

Screenshot below:
Footer centered 2.0.png

binal_identix
Shopify Partner
681 60 119

Hello @MLCNZ 

 

You can try this code: it will be helpful to you. 

Go to the Online Store->Theme->Edit code->Add this css to your theme.liquid above the </head>

<style>
.footer-block__details-content {
    text-align: center;
}
.footer-block__heading {
    text-align: center;
}
.footer__content-top .grid {
    width: 100% !important;
}
</style>

 

iCart Cart Drawer Cart Upsell App


- If you find the solution helpful, please accept and like it
- To learn more visit www.identixweb.com