# Divider lines between sections

**URL:** <https://community.shopify.com/t/divider-lines-between-sections/388498>\
**Category:** Shopify Discussion\
**Tags:** troubleshooting\
**Created:** [January 20, 2025, 10:35pm UTC](https://community.shopify.com/t/divider-lines-between-sections/388498 "2025-01-20T22:35:40Z")\
**Posts on this page:** 6\
**Page:** 1

## AI-generated summary

A user seeks help adding thin divider lines between specific sections on their Shopify store, particularly above and below the "Why Choose US?" section and around the bottom section.

**Initial Solution:**
- Another user provides CSS code targeting the `.multicolumn` class to add top and bottom borders
- The code successfully adds 1px solid black lines to the desired sections

**Follow-up Issue:**
- The original poster reports that previous CSS code in `base.css` (making text wider in one multicolumn) now affects all multicolumn sections unintentionally
- They need the styling to apply only to the specific "Why Choose US?" section

**Refined Solution:**
- A more targeted CSS approach is provided using section-specific class names (`.section-template--18094115750084__multicolumn_9FJhrW-padding` and similar)
- This limits the border styling to only two specific multicolumn sections on the homepage
- Additional code is offered to apply max-width styling exclusively to the "Why Choose US?" multicolumn using its unique class identifier

The discussion includes code snippets and screenshot references showing the implementation results.

<div class="post-metadata">

**Author:** ![Mohd01](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@Mohd01](https://community.shopify.com/u/Mohd01)\
**Post date:** [January 20, 2025, 10:35pm UTC](https://community.shopify.com/t/divider-lines-between-sections/388498/1 "2025-01-20T22:35:40Z")

</div>

Hi all,

I want to know how to add thin lines to seperate specific sections.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Made4uo-Ribe](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/made4uo-ribe/32/9941_2.png) [@Made4uo-Ribe](https://community.shopify.com/u/Made4uo-Ribe)\
**Post date:** [January 20, 2025, 10:50pm UTC](https://community.shopify.com/t/divider-lines-between-sections/388498/2 "2025-01-20T22:50:30Z")

</div>

Hi @Mohd01

Please, share your store URL. Also, share the specific sections that you like to add thin lines. Thanks!

---

<div class="post-metadata">

**Author:** ![Mohd01](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@Mohd01](https://community.shopify.com/u/Mohd01)\
**Post date:** [January 20, 2025, 10:55pm UTC](https://community.shopify.com/t/divider-lines-between-sections/388498/3 "2025-01-20T22:55:41Z")

</div>

URL: [https://cngdxq-tk.myshopify.com/](https://cngdxq-tk.myshopify.com/)  
I want the lines to be on the bottom and above the Why Choose US? and above and at the bottom of the last section (the one under the reviews section)

---

<div class="post-metadata">

**Author:** ![DaisyVo](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/daisyvo/32/109567_2.png) [@DaisyVo](https://community.shopify.com/u/DaisyVo)\
**Post date:** [January 21, 2025, 3:26am UTC](https://community.shopify.com/t/divider-lines-between-sections/388498/4 "2025-01-21T03:26:22Z")

</div>

Hi @Mohd01 ,

You can follow the steps here:

Step 1: Shopify admin \> Online store \> Customize: [https://prnt.sc/XQ6IDB99kUCd](https://prnt.sc/XQ6IDB99kUCd)  
Step 2: From the left menu \> Theme settings \> Open Custom CSS: [https://prnt.sc/ypQ7nly2wv27](https://prnt.sc/ypQ7nly2wv27)  
Step 3: Copy the code below and paste it there

Here is the code for step 3:

```markup
.multicolumn {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

```

Here is the result:

 ![DaisyVo_0-1737429960392.png](https://canada1.discourse-cdn.com/shopifyforum/original/4X/2/5/d/25d0e5fd458c7efc790078d3f665fdeb5c415a5a.png)

 ![DaisyVo_1-1737429971519.png](https://canada1.discourse-cdn.com/shopifyforum/original/4X/e/a/3/ea307fe0ee8e43605bb35d7ae70a6db7d7498d3f.png)

Please let me know if it works!

Best,  
Daisy

---

<div class="post-metadata">

**Author:** ![Mohd01](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@Mohd01](https://community.shopify.com/u/Mohd01)\
**Post date:** [January 21, 2025, 10:45am UTC](https://community.shopify.com/t/divider-lines-between-sections/388498/5 "2025-01-21T10:45:37Z")

</div>

Hey! It does work, thank you! However I have one more question if you don’t mind! I previously added a code in the base.css file for the multicolumn above which is “Why Choose US?” to make the text wider and fill out the whole section but that code now applies to all multicolumns I add after which I don’t want to happen I only want that code to affect that specific multicolumn, any idea how to fix that?

---

<div class="post-metadata">

**Author:** ![Made4uo-Ribe](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/made4uo-ribe/32/9941_2.png) [@Made4uo-Ribe](https://community.shopify.com/u/Made4uo-Ribe)\
**Post date:** [January 21, 2025, 12:07pm UTC](https://community.shopify.com/t/divider-lines-between-sections/388498/6 "2025-01-21T12:07:02Z")

</div>

Thanks for the info, 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:

```css
.section-template--18094115750084 __multicolumn_9FJhrW-padding, .section-template--18094115750084__ multicolumn_466QtX-padding {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

```

- And Save.

- Result:

- 

- And if you only want to max-width the “why choose us” multicolumn replace the code you used with this code below.

```css
.page-width.section-template--18094115750084__multicolumn_466QtX-padding {
    max-width: 100% !important;
}

```

- And Save.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
