All things Shopify and commerce
In my product page, there is a big white space gap between my product images and my product title on mobile. Is there any way to lessen that space so the product title can be seen seemlessly along with the product? I am using debutify theme. Here is the store link: www.solairhome.com I am referring to the product: Solair Racerr Pro.
Solved! Go to the solution
This is an accepted solution.
Hi @Solair ,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
@media screen and (max-width: 750px) {
.grid__item.product-single__meta--wrapper.large--six-twelfths {
margin-top: 0!important;
}
}
</style>
Here is result:
Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This is an accepted solution.
You're welcome. Have a nice day!
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Step 1. Go to Admin -> Online store -> Theme > Edit code
Step 2. Find the file theme.scss.css.
Step 3. Add this code at the end of file
@media only screen and (max-width: 768px) {
.grid__item.product-single__meta--wrapper {
margin-top: 0px!important;
}
}
Result:
If it helps you, please like and mark it as the solution.
Best Regards
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
BSS: B2B Wholesale Solution | BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hi @Solair
Please add this CSS code to the Custom CSS in Online Store > Themes > Customize > Theme settings.
@media (max-width: 749px) {
.product-single__meta--wrapper { margin-top: 0px !important; }
}
- Helpful? Like and Accept solution! - Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
This is an accepted solution.
Hi @Solair ,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
@media screen and (max-width: 750px) {
.grid__item.product-single__meta--wrapper.large--six-twelfths {
margin-top: 0!important;
}
}
</style>
Here is result:
Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Thank you. You are quick and thorough!
This is an accepted solution.
You're welcome. Have a nice day!
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hi @Solair ,
You can fix the issue of white space between the product media and title by reducing the margin between the sections. To fix this issue, you need to edit the CSS code of your theme
1. In Admin Dashboard -> Online Stores -> Click "..." alongside your current and choose "Edit Code".
2. In Edit code, search for "theme.scss.css" file.
3. In "theme.scss.css", You'll find the following code at line - 9212
@media screen and (max-width: 769px) {
.product-single__title {
font-size: 28px; } }
4. Replace the above code with the below given code:
@media screen and (max-width: 769px) {
.product-single__title {
font-size: 28px; }
.product-single__meta--wrapper {
margin-top: 0px; }
}
5. Save the file and refresh your product page.
I hope this helps! If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024