How can I adjust the left and right margins on my website?

Hi,

I’d like to adjust the left and right margins on all pages on my site (please see screenshot attached). I would like max-width for the margin

Store URL: https://wowberrybites.myshopify.com/

Password: berrybites

Thanks!

1 Like

@winnado11

Please add the following code at the bottom of your assets/theme.min.css file.

.content-for-layout{
margin-left: 25px;
margin-right: 25px;
}

Hope this works.

Thanks!

1 Like

@dmwwebartisan

Thank you for writing the code. This not what I want. I actually want the “headings” text and body" text to move a bit out to both sides. Currently, it’s so in middle.

1 Like

@winnado11

Remove the old code and add the following code:

@media only screen and (min-width: 46.85em){
.image-with-text__inner { padding: 7rem 0rem !important; }
}

Hope this works.

Thanks!

1 Like

Thank you for writing the code. However, the body part has not been adjusted yet. How I can adjust the margin of this section that makes it too to both sides like the headings part you just did?

Thank you for your help!

@winnado11

Please add the following code at the bottom of your assets/theme.min.css file.

@media only screen and (min-width: 46.85em){
.collection-wrapper {padding: 0 0rem !important;}
.collection-list {padding: 1rem 0rem 0 !important;}
.page {padding: 5rem 0rem !important;}
}

Thanks!

1 Like

Thank you so much :slightly_smiling_face:

1 Like