Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
I need some help with my footer using TASTE theme, url https://handshere.net
1. On desktop, how do I align the footer menu to the left?
2. On mobile, how do I align the footer menu to center?
I've tried various CSS code from other discussions but they are not working for my theme.
Thanks in advance for you help wizards!
Please use this code to do that
@media (min-width: 750px) {
footer .footer-block:only-child:last-child {
text-align: left;
max-width: 100%
}
}
@media (max-width: 749px) {
footer ul.footer-block__details-content {
margin: 0 auto;
max-width: 24rem
}
}
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey @HH_2023
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (min-width: 768px) {
.footer-block:only-child:last-child {
max-width: 100% !important;
text-align: -webkit-left !important;
}
}
@media screen and (max-width: 767px) {
a.link.link--text.list-menu__item.list-menu__item--link {
justify-content: center !important;
}
}
</style>
RESULT:
If I managed to help then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @HH_2023 ,
For mobile to make it center, please add below CSS to Base.css by going to Theme >> Edit code >> Search for base.css and paste it at the bottom and it will appear to the center.
Hello @HH_2023
Please follow the steps below after logging into the Shopify admin:
.footer .footer__blocks-wrapper .footer-block.grid__item
{
width: 100%;
max-width: unset;
text-align: left;
}
@media screen and (max-width: 479px)
{
.footer .footer__blocks-wrapper .footer-block__details-content .list-menu__item {
justify-content:center;
}
}
Please hit Like and Mark it as a Solution if you find our reply helpful.
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Shopify Partner | Shopify Development Agency | Call: 877.536.3789
Canada: 150 King St W. STE 200, Toronto, ON M5H 1J9
| USA: 98 Cutter Mill Rd. STE 466, Great Neck, NY 11021