We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Divider lines between sections

Divider lines between sections

Mohd01
Excursionist
51 0 4

Hi all,

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

Thanks in advance

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Hi @Mohd01 

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

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.
Mohd01
Excursionist
51 0 4

URL: 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)

Made4uo-Ribe
Shopify Partner
10211 2427 3079

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:

 

.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:
  • Made4uoRibe_0-1737461104089.png

    This code will only add border on this 2 multicolumn in your homepage. 

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

 

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

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 599

Hi @Mohd01 ,

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:

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

Here is the result:

DaisyVo_0-1737429960392.png

 

DaisyVo_1-1737429971519.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
Mohd01
Excursionist
51 0 4

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?