Remove line between section

Solved

Remove line between section

Lalvikas
Shopify Partner
22 0 3

Please help remove the lines present on my Shopify product page. I created this section custom.

Lalvikas_0-1736876945130.png
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"

 

 

Accepted Solution (1)

GTLOfficial
Shopify Partner
880 182 192

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
145.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

View solution in original post

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
10211 2427 3078

Hi @Lalvikas 

Try this one.

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:

 

.shopify-section:not(:first-child):has(.bordered-section) {
    border-block-start-width: 0px !important;
}

.section-spacing.bordered-section {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1736889250813.png

     

 

 Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

DaisyVo
Shopify Partner
4469 501 598

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:

DaisyVo_0-1736900496458.png

 

Please let me know if it works!

 

Best,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

Dan-From-Ryviu
Shopify Partner
12031 2353 2530

Hi @Lalvikas 

Please check the settings of your theme. It has the option to turn off those lines on each section' settings.Screenshot 2025-01-15 at 10.53.34.png

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

GTLOfficial
Shopify Partner
880 182 192

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
145.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
basile3848
New Member
7 0 0

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.

 

basile3848_0-1744407414711.png

 

basile3848_1-1744407414709.png

 

basile3848_2-1744407414702.png

 

basile3848_3-1744407414700.png

 

 

 

Boutique : nemeos.fr

Made4uo-Ribe
Shopify Partner
10211 2427 3078

Hi @basile3848 

I'm not seeing the lines from the link you provided, and the sample image is also not showing.

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.