All things Shopify and commerce
Please help remove the lines present on my Shopify product page. I created this section custom.
Also, if possible, let me know how to decrease the space between the section too.
Here's my store details -
https://quickstart-c4988d9a.myshopify.com/products/unc-blue-sweatsuit
password - iafawm
Please the check the product page and select product "UNC BLUE SWEATSUIT"
Solved! Go to the solution
This is an accepted solution.
Hello @Lalvikas
Go to online store ----> themes ----> actions ----> edit code ---->theme.css
add this code at the end of the file and save.
.shopify-section:not(:first-child):has(.bordered-section) {
border-block-start-width: 0px;
}
Result
If this was helpful, hit the like button and accept the solution.
Thanks
Hi @Lalvikas
Try this one.
.shopify-section:not(:first-child):has(.bordered-section) {
border-block-start-width: 0px !important;
}
.section-spacing.bordered-section {
margin-top: 1rem;
margin-bottom: 1rem;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Hi @Lalvikas ,
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
.section-spacing.bordered-section:has(.product-tabs) {
margin-block: 0 !important;
}
Here is the result:
Please let me know if it works!
Best,
Daisy
Hi @Lalvikas
Please check the settings of your theme. It has the option to turn off those lines on each section' settings.
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- 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.
Hello @Lalvikas
Go to online store ----> themes ----> actions ----> edit code ---->theme.css
add this code at the end of the file and save.
.shopify-section:not(:first-child):has(.bordered-section) {
border-block-start-width: 0px;
}
Result
If this was helpful, hit the like button and accept the solution.
Thanks
Bonjour, j'ai le même problème pour les lignes. J'ai passé 5h à essayer en modifiant le css de règler le problème. Impossible de vous aider ?
J'ai mis des photos pour vous montrer le problème...
Merci de m'éclairer, je suis désespérer.
Boutique : nemeos.fr
Hi @basile3848
I'm not seeing the lines from the link you provided, and the sample image is also not showing.
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025