All things Shopify and commerce
Hi,
How can I align the description text of collections in Dawn theme? At the moment, they are all justified left.
https://2c6852-ef.myshopify.com/
pass: aubril
Solved! Go to the solution
This is an accepted solution.
Hi, @Jj37
Like this?
If so...
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 "template-collection.css" file, depending on which file your theme uses to store its CSS styles for collections. look for ".collection__description" and add this to it so it looks like this:
.collection__description > * {
margin: 0;
}
.collection__description {
p {
text-align: center
}
}
This is an accepted solution.
Hi @Jj37
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:
.collection__description.body.rte {
text-align: center;
}
And Save.
Result:
This is an accepted solution.
Hi, @Jj37
Like this?
If so...
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 "template-collection.css" file, depending on which file your theme uses to store its CSS styles for collections. look for ".collection__description" and add this to it so it looks like this:
.collection__description > * {
margin: 0;
}
.collection__description {
p {
text-align: center
}
}
is it applicable to shopify sense theme as well?
This is an accepted solution.
Hi @Jj37
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:
.collection__description.body.rte {
text-align: center;
}
And Save.
Result:
This is Noah from PageFly - Shopify Page Builder App
Hi @Jj37 please add code here to fix it:
Step 1: Online Stores > Themes > Edit code
Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>
<style>
.collection__description p{
text-align: center !important;
}
</style>
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.
Hi @Jj37
Please add this code to theme.liquid file, after <head> in Online Store > Themes > Edit code
<style>
.collection-hero__description.rte { max-width: 100% !important; }
</style>
Best regards,
Dan from Ryviu
- Helpful? Like and Accept solution! OR Buy me coffee ❤️
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024