Solved

Center Align Everything in Footer on Mobile

sjohnson24
Visitor
2 0 1

Hi! I am trying to center everything in the footer on my website when on a mobile device. I am using the Praise theme. 

 

Here is the url for the site: https://hiveandthrivehoneyco.com 

 

Password: honey

 

Thank you! 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6051 1453 1792

This is an accepted solution.

Hi @sjohnson24 

Check 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){
.section-footer__branding__logo {
    margin: auto;
}
.__article-txt-p-sm.p-sm, h2.h6.alt, p.p-sm {
    text-align: center;
    margin: auto;
}
.section-footer__blocks {
    flex-direction: column;
    text-align: center;
}
.section-footer__blocks__block.__align-left {
    margin: auto;
}
p:is(p), .p:is(p) {
        max-width: 100%;
    }
p.section-footer__header.h6.alt {
    text-align: center;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1713385047492.pngMade4uoRibe_1-1713385056187.png

When you paste it maybe some wont be center, its normal. Just let me know. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
6051 1453 1792

This is an accepted solution.

Hi @sjohnson24 

Check 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){
.section-footer__branding__logo {
    margin: auto;
}
.__article-txt-p-sm.p-sm, h2.h6.alt, p.p-sm {
    text-align: center;
    margin: auto;
}
.section-footer__blocks {
    flex-direction: column;
    text-align: center;
}
.section-footer__blocks__block.__align-left {
    margin: auto;
}
p:is(p), .p:is(p) {
        max-width: 100%;
    }
p.section-footer__header.h6.alt {
    text-align: center;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1713385047492.pngMade4uoRibe_1-1713385056187.png

When you paste it maybe some wont be center, its normal. Just let me know. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


sjohnson24
Visitor
2 0 1

Thank you SO much! This worked perfectly!!