How to adjust product page padding in Debutify theme?

I am using the debutify theme and would like to change the padding for the right grid item on the product page. When I view the page source, this is what it is currently set to:

If I paste this into my theme.scss but with different values, it doesn’t work.

What code should I use? Any help is appreciated.

Hi @TBNP22 ,

Could you please share your store URL, so that I can help you

Hello @TBNP22

Would you mind sharing URL of your store please?

This could be due to the values you are adding are being overridden by default values in the theme. You can try adding the code above in theme.liquid file as well like this:

Your code here.

Hello @salmanmukhtar

Thanks for this! It worked but also changed my mobile view, what do I need to add so it only applies to desktop?

Thanks

You can reset the default values in media query

@media screen (min-width:320px) and (max-width:767px)
{
Add mobile default values here beneath the code I sent to you earlier.
}

Like this?

#shopify-section-template--14496620183681__main .product-single__meta--wrapper { padding-left: 16%; padding-right: 7%; }

@media screen (min-width:320px) and (max-width:767px)
{
padding-left: 6%;
padding-right: 1%;
}

The media screen css part will also be the part of style tag. In other
words, put the media query part bfore closing tag

Unfortunately didn’t work. It is still using the first values. This is correct?

#shopify-section-template--14496620183681__main .product-single__meta--wrapper { padding-left: 16%; padding-right: 7%;} @media screen (min-width:320px) and (max-width:767px) { padding-left: 6%; padding-right: 1%; }

Use the below code:


#shopify-section-template–14496620183681__main
.product-single__meta–wrapper {
padding-left: 16%;
padding-right: 7%;}
@media screen and (min-width:320px) and (max-width:767px){

#shopify-section-template–14496620183681__main
.product-single__meta–wrapper{
padding-left: 6%;
padding-right: 1%;
}
}

@TBNP22 here is the correct code, sorry about my previous reply, that was broken.

#shopify-section-template--14496620183681__main .product-single__meta--wrapper { padding-left: 16%; padding-right: 7%;} @media screen and (min-width:320px) and (max-width:767px) { #shopify-section-template--14496620183681__main .product-single__meta--wrapper{ padding-left: 6%; padding-right: 1%; } }

Hello, I need help ASAP with this issue on my store. I’m using debutify and there is this weird padding beneth the product page that I can’t remove. I dont know where I need to go into the code to remove it.

Please see this image. I would basically like to remove this padding entirely