Re: Add margin to my collection

Solved

How can I add a margin to my collection text?

damien68
Excursionist
25 0 6

He everyone, I try to add ledt and right margin to my collection text, but I don't find a solution. I have a venture theme and I modified the collection.liquid section to pit the text at the bottom of my collection page.

So I would like to add left and right margin to my text, and I didn't find any solutions who suits to my problem.

 

Accepted Solution (1)
Zworthkey
Shopify Partner
5581 641 1581

This is an accepted solution.

@damien68 

.section-header__subtext.rte {
    padding-left: 250px !important;
    padding-right: 250px !important;
 
}

Add this code in the theme.scss file

View solution in original post

Replies 6 (6)

Zworthkey
Shopify Partner
5581 641 1581

@damien68 

Welcome to the Shopify community!
Thanks for your good question.

Please share your store URL.
So that I will check and let you know the exact solution here.
damien68
Excursionist
25 0 6

Thanks for your help : this is my website 

https://ma-tasse-en-bois.fr/

Zworthkey
Shopify Partner
5581 641 1581

@damien68 
Where do you want to add the margin.
Kindly share an Screenshot.

damien68
Excursionist
25 0 6

 

 

 

 

 

I would like that the text " découvrez..." suits to the border product

Is it possible ? 

Capture d’écran 2022-04-04 103220.png

Zworthkey
Shopify Partner
5581 641 1581

This is an accepted solution.

@damien68 

.section-header__subtext.rte {
    padding-left: 250px !important;
    padding-right: 250px !important;
 
}

Add this code in the theme.scss file

damien68
Excursionist
25 0 6

Ok and at which place do I should add this code in the theme.scss file ?