Shopify themes, liquid, logos, and UX
Hello!
I have a number of elements on my homepage including a collection which has a subtitle above it. I am trying to center align the text and have looked in the base.css but haven't had much luck. Here is the link to my website:
I'm sure this is a relatively quick fix, but the changes I am making to the base.css don't seem to be working.
Many thanks,
Liam
Solved! Go to the solution
This is an accepted solution.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme. liquid file and add the following code to the head tag
<style>
.collection__title .collection__description {
text-align: center;
}
</style>
After modification, it can be displayed in the center.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
This is an accepted solution.
This is Noah from PageFly - Shopify Page Builder App
You can add code below in base.css to fix it:
.collection__title .collection__description p{
text-align: center !important;
}
Hope my solution will help you resolve the issue.
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hello @liambeauchamp ,
1) Go to online store
2) Themes
3) Edit code
4) Base.css file (Add this code at the bottom of base.css file)
.rte > *:last-child {
text-align: center;
}
This is an accepted solution.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme. liquid file and add the following code to the head tag
<style>
.collection__title .collection__description {
text-align: center;
}
</style>
After modification, it can be displayed in the center.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
This is an accepted solution.
This is Noah from PageFly - Shopify Page Builder App
You can add code below in base.css to fix it:
.collection__title .collection__description p{
text-align: center !important;
}
Hope my solution will help you resolve the issue.
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hello @liambeauchamp ,
1) Go to online store
2) Themes
3) Edit code
4) Base.css file (Add this code at the bottom of base.css file)
.rte > *:last-child {
text-align: center;
}
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