How do I center the Heading of my Footer Menu on Mobile View (Customer Support and Policies; refer to image below)? I tried applying the code below to my section-footer.css but only the links were centered. Here is my website URL: https://adlaudemdei.com/
@media screen and (max-width:768px){
.footer-block__details-content{
text-align: center;
}
.footer-block__details-content .list-menu__item{
display: inline-block;
}
}
1 Like
Hi @pmltntc
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:
footer.footer.color-accent-1.gradient h2 {
text-align: center;
}
I hope it help.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
1 Like
This worked perfectly! Thank you so much!
1 Like
Hello @pmltntc
Please add the following CSS at the end of the file Online Store → Theme → Edit code → Assets → section-footer.css:
@media only screen and (max-width: 768px)
{
.footer-block__heading {
text-align: center;
}
}
Please hit Like and Mark it as a Solution if you find our reply helpful.