Shopify themes, liquid, logos, and UX
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!
Solved! Go to the solution
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:
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!
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:
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!
Thank you SO much! This worked perfectly!!
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025