Shopify themes, liquid, logos, and UX
Hello, I currently have my copyright text on one side and all the rest of the footer is centered...
I want the "© 2021 My Deal Searcher" to also be centered...
I did find the code for it but I can't manage to center it:
Thank for the help.
[Site URL: https://mydealsearcher.com]
Solved! Go to the solution
This is an accepted solution.
Please go to Online store -> themes -> Edit theme -> Assets -> theme.scss.liquid and paste this code at the end of this file
@media only screen and (min-width: 769px) {
.site-footer .wrapper .grid:nth-child(3) .grid-item.large--two-fifths {
width: 100%;
}
.site-footer .wrapper .grid:nth-child(3) .grid-item.large--two-fifths .legal-links {
text-align: center;
}
}
This is an accepted solution.
Please go to Online store -> themes -> Edit theme -> Assets -> theme.scss.liquid and paste this code at the end of this file
@media only screen and (min-width: 769px) {
.site-footer .wrapper .grid:nth-child(3) .grid-item.large--two-fifths {
width: 100%;
}
.site-footer .wrapper .grid:nth-child(3) .grid-item.large--two-fifths .legal-links {
text-align: center;
}
}
YOu have placed code in wrong format
.site-footer
.wrapper
.grid--full:nth-child(3)
.grid-item.large--four-tenths
.legal-links,
.site-footer
.wrapper
.grid--full:nth-child(3)
.grid-item.large--two-fifths
.legal-links,
.site-footer
.wrapper
.grid--rev:nth-child(3)
.grid-item.large--four-tenths
.legal-links,
.site-footer
.wrapper
.grid--rev:nth-child(3)
.grid-item.large--two-fifths
.legal-links,
.site-footer
.wrapper
.grid:nth-child(3)
.grid-item.large--four-tenths
.legal-links,
.site-footer
.wrapper
.grid:nth-child(3)
.grid-item.large--two-fifths
.legal-links {
text-align: center;
}
Please remove it and place like this
@media only screen and (min-width: 769px) { .site-footer .wrapper .grid:nth-child(3) .grid-item.large--two-fifths { width: 100%; } .site-footer .wrapper .grid:nth-child(3) .grid-item.large--two-fifths .legal-links { text-align: center; } }
Where is this code you mantioned I need to remove?
.site-footer
.wrapper
.grid--full:nth-child(3)
.grid-item.large--four-tenths
.legal-links,
.site-footer
.wrapper
.grid--full:nth-child(3)
.grid-item.large--two-fifths
.legal-links,
.site-footer
.wrapper
.grid--rev:nth-child(3)
.grid-item.large--four-tenths
.legal-links,
.site-footer
.wrapper
.grid--rev:nth-child(3)
.grid-item.large--two-fifths
.legal-links,
.site-footer
.wrapper
.grid:nth-child(3)
.grid-item.large--four-tenths
.legal-links,
.site-footer
.wrapper
.grid:nth-child(3)
.grid-item.large--two-fifths
.legal-links {
text-align: center;
}
in theme.scss.liquid at the end of file
I didn't found the code you want me to remove on the theme.scss.liquid file...
I only added the code you wrote as you can see here:
Yes, Correct.
But the text is still on the side and not centered so what is wrong?
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024