Hi,
How can I center the payment method in the footer for the mobile version and the copyright text?
Shopify Store: https://www.fatatjewellery.com
Password: fatat
A user seeks help centering payment method icons and copyright text in the footer on mobile devices for their Shopify store.
Multiple Solutions Proposed:
Several developers offered CSS-based fixes targeting different files:
<style> tags with media queries before the </body> tag.footer__column--payment and .list-payment classes@media screen and (max-width: 749px)All solutions use similar CSS properties:
justify-content: center !importantmargin: 0 auto !importanttext-align: centerCurrent Status:
The original poster reported that initial suggestions didn’t work with their template and temporarily removed the copyright word while keeping other elements. The discussion remains open with at least 6 different code solutions provided, but no confirmed resolution. Contributors requested the poster mark helpful answers and confirm which solution worked.
Hi,
How can I center the payment method in the footer for the mobile version and the copyright text?
Shopify Store: https://www.fatatjewellery.com
Password: fatat
Hey @middlebeats
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
I don’t see it now on your website. Did you remove it? The simplest way is to add CSS style to the copyright container. For example:
.your-container-class {
margin: 0 auto !important;
}
Click on “Online Store”: In the left sidebar, locate and click on “Online Store.” This will take you to the themes section.
Select “Themes”: Here, you’ll see your current active theme and any other themes you have installed.
Click on “Customize”: To access the theme editor for your active theme, click on the “Customize” button next to the theme’s name.
Locate the “Assets” folder: In the code editor, find the “Assets” folder on the left sidebar.
Open the main CSS file: Look for a file named section-footer.css, or something similar. Click on it to open the CSS file for editing.
The two options didn’t work on my template.
And yes @lynth , I removed the copyright word but left the rest as it was. I’ll leave it like that for now until I find a solution.
Hi @middlebeats ,
Step 1. Go to Admin → Online store → Theme > Edit code
Step 2. Find the file base.css.
Step 3. Add this code to the end of file
.footer__column.footer__column--payment {
margin: 0 auto!important;
}
.footer__column--payment .list.list-payment {
justify-content: center!important;
}
You will get result like this
If it helps you, please like and mark it as the solution.
Best Regards
Hello @middlebeats
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi @middlebeats ,
Please go to Actions > Edit code > Assets > section-footer.css file and paste this at the bottom of the file:
@media screen and (max-width: 749px) {
.footer__column--payment {
width: 100%;
}
.footer__column--payment .list-payment {
justify-content: center;
}
.footer__copyright {
justify-content: center;
}
}
Hi @middlebeats
You can follow these step to achieve your result
Go to Online Store ->Edit code ->Theme.liquid file and then
Add bellow code in the bottom of the file above tag
Or add bellow code base. css file
.footer__column.footer__column--payment {
margin: 0 auto!important;
}
.footer__column--payment .list.list-payment {
justify-content: center!important;
}