Add section line in bw featured products and collections list in homepage Dawn 15V

Topic summary

A user wants to add a dividing line between the featured products and collections sections on their Shopify Dawn theme homepage. The line should be light grey to match other section dividers, not dark.

Solutions Provided:

Multiple community members offered CSS code solutions:

  • GTLOfficial suggested adding CSS to base.css targeting the title wrapper with a 1px solid grey top border
  • BSS-TekLabs recommended adding code to theme.liquid before the </head> tag
  • niraj_patel provided a media query solution for mobile screens, adding code before </body> in theme.liquid

Issue:

The user reported that initial solutions created lines that were too dark compared to existing section dividers.

Current Status:

BSS-TekLabs provided an updated CSS code attempting to match the lighter grey color. The discussion appears ongoing as the user awaits confirmation that the revised solution achieves the desired light grey appearance matching other section lines on the homepage.

Summarized with AI on November 6. AI used: claude-sonnet-4-5-20250929.

hii

I would like to add a section line in bw featured products and collections list.

please check the screenshot

store url- https://5a3cf5-fc.myshopify.com

1 Like

What type of section you need there?

Hello @ctal37
Go to online store ----> themes ----> actions ----> edit code---->base.css
add this code at the end of the file.

.title-wrapper-with-link.title-wrapper--self-padded-tablet-down.title-wrapper--no-top-margin {
border-top: 1px solid gray;
}

result

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

  • Here is the solution for you @ctal37
  • Please follow these steps:

  • Then find the theme.liqid file.
  • Then add the following code at the before tag and press β€˜Save’ to save it.

  • Here is the result you will achieve:

  • Please press β€˜Like’ and mark it as β€˜Solution’ if you find it helpful. Thank you.

Hello @ctal37

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 on theme.liquid

@media screen and (max-width: 767px){ .section-template--17181254746297__featured_collection_bYbp6n-padding { border-bottom: 1px solid #000; } }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

hey this code making the line so dark , I want a light section line please check screenshot -

hey @BSS-TekLabs this code is working but the section line is way too darker then other section line and I want a light grey line. please check screenshot what I am trying to say. please help me out

1 Like

Can you try this code @ctal37

  • Please press β€˜Like’ and mark it as β€˜Solution’ if you find it helpful. Thank you.

1 Like