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

imazele
Excursionist
27 0 7

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
5435 1307 1608

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Beae_Anthony
Shopify Partner
436 167 175

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 | Blog

PageFly-Noah
Astronaut
864 173 194

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.