SectionAI is free + 20K tokens if you're a The4 customer, Free plan is available Install App  

Header background

Custom line

Nelly

Written by Nelly

Last updated

18 views

On this page


The Custom line section allows you to add a simple horizontal line to visually separate content blocks on your page. It helps improve layout clarity and structure by creating clean divisions between sections. With full control over line style, width, color, and spacing, you can tailor its appearance to match your store’s aesthetic.

1. How to access the Custom line section?

Step 01: From Shopify Admin, click on Online Store > Select Themes > In the Current theme section, click the Customize button.

S1.png

Step 02: In the theme editor (Customize), click the Sections button > Click the Add section button > In the Sections tab, scroll through the list or use the search bar to find and select Custom line.

Cu1.png

2. How to customize the Custom line section?

The Custom Line allows you to customize various options such as line style (solid, dashed, dotted), width, height, color, and position (left, center, right). You can also adjust the section's padding, enable full-width layout. Below are the customization options available:

2.1. General options

  • Line timeline style: Choose the visual style of the line – options usually include Solid, Dashed, or Dotted.

  • Line width: Sets how wide the line stretches across the section (in % of container width).

  • Line height: Controls the thickness of the line (in pixels).

  • Line color: Select the color of the line using a color picker or HEX code.

  • Line position: Defines the horizontal alignment of the line (Left, Center, or Right).

cu2.png

2.2. Options for layout section

  • Make section full width: If enabled, the line will stretch to the full width of the browser. If disabled, it stays within the content container.

2.3. Section padding

  • Top padding: Adds space above the line (in pixels).

  • Bottom padding: Adds space below the line (in pixels).

  • Rate padding (mobile): Sets a percentage-based scaling factor to control padding on mobile devices.

cu4.png

2.4. Custom CSS

Allows users to customize by adding CSS rules, beyond the limitations of default settings. This allows for fine-tuning the design to every detail, to suit specific needs.

Add custom styles to this section only.

To add custom styles to your entire online store, go to theme settings for detailed instructions.

custom CSS.png

🎁 Exclusive Deals for The4 Customers

SectionAI

🤖 SectionAI – Build Sections with AI

Generate Shopify sections from text or wireframes.
The4 users get +20,000 bonus tokens when verifying their theme license.

  • ✅ No-code section builder
  • ✅ Works with your The4 theme
  • ✅ Build FAQs, banners, product grids & more
🚀 Try Free – Claim Tokens
EComposer

🎉 EComposer – Free 6-Month Plan

Build landing pages, sales funnels, and more with drag & drop.
The4 users get 6 months free (save $114).

  • ✅ 100+ templates ready to use
  • ✅ Build any Shopify page
  • ✅ No coding required
🔓 Get 6 Months Free

Enjoy a free 3-day trial. Then get your first month for $1. Try Now

We uses cookies to ensure you get the best experience on our website.