Hi, guys!
Can someone please help me remove side padding on product page? Also top padding. I have tried everything and nothing seems to work
Here is the link to the page -
https://rustmademe.com/products/irregular-shaped-plant-box-l
Thanks so much!
1 Like
Hi @user7777
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
In theme.liquid, paste the below code before
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Sorry, but this didn’t work
@user7777 An extremely sorry for this, I updated the code
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
In theme.liquid, paste the below code before
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
vm-web
January 30, 2025, 1:54pm
5
@user7777
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
In theme.liquid, paste the below code before
{% if template.name == 'product' %}
{% endif %}
Thanks!
[email removed]
Thanks so much! It finally worked!
Could you please help me edit the code to add a small padding on right side only? Because they buy button and rest product info is now withput padding on right side.
Thanks again
vm-web
January 30, 2025, 2:08pm
7
@user7777
can you share screenshot what you want i can help you!
Thanks!
Oh, but I just realised it made some mistakes to all page…
vm-web
January 30, 2025, 2:13pm
9
@user7777
Please add the following CSS code to your assets/base.css bottom of the file.
@media screen and (min-width: 750px) {
.page-width {
padding: 0 5rem !important;
}
}
Thanks!
Unfortunately it didn’t resolve the issues…
I need to change padding on sides on product page only! Padding on left should be 0, on the right a little padding. Could you please loook into this?
Thanks!
vm-web
January 31, 2025, 9:05am
11
@user7777
Ok please wait i will send solution.
Thanks, I already found a solution!