Hello I want to reduce this space on my products pages only on mobile

Hello I want to reduce this space on my products pages only on mobile

imazele
Excursionist
30 0 9

Hello I want to reduce the space between the quantity and the text on my product page on mobile ! you can see on the picture that I want the space to be the same as the green one ! so I want to reduce the space of the red part on the picture ! Here is the link of my website https://www.five-pocket.com/products/pro-club-heavyweight-t-shirt-black  and here is the picture ! thanks !

IMG_0693.jpg

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
7661 1844 2259

Hi @imazele 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

@media only screen and (max-width: 749px) {
.product__description.rte.quick-add-hidden {
    margin: 0px;
}

.slider-buttons.no-js-hidden.quick-add-hidden {
    height: 30px;
}
}

 

  • And Save. 
  • Result:
  • Ribe_Dagandara_0-1693326805293.png

     

I hope it help.

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

Beae_Cass
Shopify Partner
436 167 176

Hi @imazele ,

This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.

 

While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:

1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file
3. Paste below code before </body>:

<style>
@media screen and (max-width: 749px) {
.product__info-container .product__description {
    margin-bottom: 5px;
}
}
</style>

 

Best regards,

Anthony

Beae - The NextGen Page Builder


- Was my answer helpful? Please hit Like or Mark it as solution!
- Get in touch with us: App Store | Demo Template

PageFly-Noah
Shopify Partner
1317 233 269

Hi @imazele 

 

This is Noah from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

PageFlyNoah_0-1693361950532.png

 

Hope this can help you solve the issue 

 

Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.