Shopify themes, liquid, logos, and UX
This is an accepted solution.
In your Theme settings, it has option to reduce space only
So, if you want to remove the space of Media with text sections on your product page only, please add this code to the theme.liquid file, after <head> in Online Store > Themes > Edit code
{%- if template.name contains 'product' -%}
<style>
.shopify-section--media-with-text .section {
padding-top: 0px;
padding-bottom: 0px;
}
</style>
{%- endif -%}
- Helpful? Like and Accept solution!
- 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.
Hello @rgeafrauuhf
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.section.section-blends.section-full {
padding-bottom: 0 !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi @rgeafrauuhf
This is Richard 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>
<style>
section#shopify-section-template--18173777576157__media_with_text_qWF3yC .section {
padding-bottom: 0;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hello @rgeafrauuhf
Go to online store ---------> themes --------------> actions ------> edit code------->theme.css
at the end of the file, add this code
.section.section-blends.section-full {
padding: 0rem !important;
}
and the result will be
If this was helpful, hit the like button and mark the job as completed.
Thanks
Its Removing Space From Every Section
Hi @rgeafrauuhf
Please login to your store admin > Sale channels > Online Store > Themes > Customize > Products, open your product template, select that section, and check if it has options to change section padding example like this image, reduce values, and save
- Helpful? Like and Accept solution!
- 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.
Didnt Have This Feature..
Did you select section in your product template?
- Helpful? Like and Accept solution!
- 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.
yes i had selected image with text section
This is an accepted solution.
In your Theme settings, it has option to reduce space only
So, if you want to remove the space of Media with text sections on your product page only, please add this code to the theme.liquid file, after <head> in Online Store > Themes > Edit code
{%- if template.name contains 'product' -%}
<style>
.shopify-section--media-with-text .section {
padding-top: 0px;
padding-bottom: 0px;
}
</style>
{%- endif -%}
- Helpful? Like and Accept solution!
- 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.
Hello @rgeafrauuhf, Please follow these steps to add this CSS code:
1. Go to your Online Store
2. Click on "Themes"
3. Select "Edit code"
4. Open your section file of "shopify-section--media-with-text" section, your section file.
5. At bottom add the below CSS code
<style>
#shopity-section-{{ section.id }} .section.section-blends.section-full {
padding: 0rem !important;
}
</style>
Feel free to reach out if you have any questions or need assistance.
Best Regards,
DWS.
Not Working
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