Shopify themes, liquid, logos, and UX
Hi everyone,
Does anyone know how to center the text box information on the dawn ver. 13?
Thanks,
Solved! Go to the solution
This is an accepted solution.
Hey @JC03,
This will do it for desktop and mobile 😊
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
h2.footer-block__heading.inline-richtext ,
ul.footer-block__details-content.list-unstyled li {
text-align: center !important;
}
ul.footer-block__details-content.list-unstyled li {
margin: 0 !important;
}
ul.footer-block__details-content.list-unstyled li a {
justify-content: center !important;
}
@media only screen and (min-width: 750px) {
.footer-block.grid__item:nth-child(2) h2.footer-block__heading.inline-richtext {
text-align: start !important;
}
}
@media only screen and (max-width: 749px) {
.footer-block__details-content.rte p {
text-align: center !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Desktop:
Mobile:
Hey @JC03,
Can I have the link to your store?
please send password
Sorry, forgot to mention, could I also have the password to the store as well? thanks!
Cho is the password, thank you
paste these code
online store > theme > base.css
h2.footer-block__heading.inline-richtext {text-align: center!important;}
.footer-block__details-content.rte p {
text-align: center!important;}
ul.footer-block__details-content.list-unstyled {
text-align: center!important;}
---------
these will make all in center not your selected text blocks , for your selected text block some coding customization is required
This is an accepted solution.
Hey @JC03,
This will do it for desktop and mobile 😊
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
h2.footer-block__heading.inline-richtext ,
ul.footer-block__details-content.list-unstyled li {
text-align: center !important;
}
ul.footer-block__details-content.list-unstyled li {
margin: 0 !important;
}
ul.footer-block__details-content.list-unstyled li a {
justify-content: center !important;
}
@media only screen and (min-width: 750px) {
.footer-block.grid__item:nth-child(2) h2.footer-block__heading.inline-richtext {
text-align: start !important;
}
}
@media only screen and (max-width: 749px) {
.footer-block__details-content.rte p {
text-align: center !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Desktop:
Mobile:
Hi yes very easy to do with targeting the class name for css , please send your myshopify url
Hi @JC03
Check 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-block.grid__item.footer-block--menu.scroll-trigger.animate--slide-in {
text-align: center;
}
ul.footer-block__details-content.list-unstyled li {
margin: 0px !important;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks for the help everyone the code worked!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024