Help adding a margin left and right to my theme code

Hello guys,

I need help adding a margin left and right to my theme code, could somebody help me, I would really appreciate it

thank you

Store link : earvanatech.com

Hi @ACHRAFLAGHBISSI

This is Victor from PageFly - Landing Page Builder App

You can try this code by following these steps:

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

Step 2: Search file base.css.

Step 3: Paste the below code at bottom of the file → Save

#MainContent {

margin-left: 20px;

margin-right: 20px;

}

Hope that my solution works for you.

Best regards,

Victor | PageFly

Hi

Thank you so much, I have tried and copied the code to the Base.css but nothing have changed

@ACHRAFLAGHBISSI

you can try again with this code:

main#MainContent {
      margin-left: 20px !important;
    margin-right: 20px !important;
}

Thank you so much but sadly it did not work as well

HI @ACHRAFLAGHBISSI

Sorry for missing your message

You can try again this code by following these steps:

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

Step 2: Search file theme.liquid

Step 3: paste bellow code in tag → save.

main#MainContent { margin-left: 20px !important; margin-right: 20px !important; }

Hope that my solution works for you.

Best regards,

Victor | PageFly