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?
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024