Remarque : même si nos guides les plus populaires ont été traduits en français, certains guides sont uniquement disponibles en anglais.

Line Blocks

Use Line Blocks to add a horizontal line between blocks on your site. This is a great way to break up text or visually separate content on pages, posts, sidebars, and footers.


Note: Line Blocks don't add vertical lines. To add a vertical line, create an image of a line in an image editor outside of Squarespace, then upload it to an Image Block.

Add a Line Block

To add a Line Block:

  1. Edit a page or post, click an insert point, and select Line from the menu. For help, visit Adding content with blocks.
  2. Click and drag the Line Block to move it to a different place on the page. Guidelines will help with your placement. For more help with placing blocks, visit Moving blocks.

Modifier la couleur

How you change the line's color depends on which version of Squarespace your site is on.

To change the color of Line Blocks on your site:

  1. Dans le Menu principal, cliquez sur Design, puis sur Couleurs.
  2. Hover over the selected theme and click the pencil icon.
  3. Under Line Block, click the Line Color tweak.
  4. In the Palette tab, you can select a color from your palette, or click Custom to select another color.
  5. Cliquez sur Enregistrer.

You can change the line color in these template families using these style tweaks:

  • Brine - Lines
  • Farro - Lines
  • Five - Lines & Decorations
  • Montauk - Page Border Color
  • Skye - Color changes automatically to be darker or lighter depending on the Site Background tweak.

À retenir :

  • The line's thickness and shape are fixed across templates.
  • Changing the Line Block color changes the color of all lines and borders on your site.
  • Some templates, such as Avenue and Ishimoto, have page border tweaks that don't affect Line Blocks.
Cet article vous a-t-il été utile ?
Utilisateurs qui ont trouvé cela utile : 30 sur 155