Align collection description text - dawn theme

Solved

Align collection description text - dawn theme

Daniel19901
Shopify Partner
296 2 88

Hi, 

I tried various codes, but I can't fix my collection description to be centered. Can anyone help ?

 

https://cl1jel0t3jrh2phm-51658555567.shopifypreview.com

Daniel19901_0-1722010818983.png

 

Accepted Solution (1)

BSS-TekLabs
Shopify Partner
2401 695 832

This is an accepted solution.

Can you try add this to base.css

@media screen and (min-width: 750px) {
    .collection-hero__title+.collection-hero__description {
        max-width: 100% !important;
    }
}

BSSTekLabs_0-1722011030256.png

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

View solution in original post

Replies 4 (4)

BSS-TekLabs
Shopify Partner
2401 695 832

This is an accepted solution.

Can you try add this to base.css

@media screen and (min-width: 750px) {
    .collection-hero__title+.collection-hero__description {
        max-width: 100% !important;
    }
}

BSSTekLabs_0-1722011030256.png

 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2401 695 832

- Here is the solution for you @Daniel19901 
- Please follow these steps:

step.png

- Then find the base.css or theme.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

@media screen and (min-width: 750px) {
    collection-hero__description {
        max-width: 100% !important;
    }
}

- Here is the result you will achieve:

BSSTekLabs_0-1722011286691.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Moeed
Shopify Partner
7346 1992 2430

Hey @Daniel19901 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

 

 

<style>
.collection-hero__description {
    max-width: 100% !important;
}
</style>

 

RESULT:

Moeed_0-1722011346714.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Guleria
Shopify Partner
4104 803 1155

Hello @Daniel19901 ,

 

Follow these steps:

1. Go to Online Store -> Theme -> Edit code

2. Open your base.css file and paste the following code at the bottom:

.collection-hero__description.rte { 
    margin: 0 auto !important;
}

 

Thanks

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder