Add a horizontal line
Edit the page or post where you want to add the line.
Click the Add Block icon or an insert point.
Select "Line" from the menu.
A horizontal line will appear. Click and drag its edges to change its length or move it to a different position on the page.
For a full-width divider, consider using the built-in section divider, available in version 7.1.
Add a vertical line
Method 1: Using a shape block (no code)
Add a blank section to your page.
Add a shape block and set its height to span two columns.
Double-click the shape block to access its settings and choose the "keystone" shape.
Click "Edit" and navigate to the desired section.
Find and select the "shape" block and choose the "keystone" shape.
Double-click the block to access its settings and adjust the shape to create the vertical line.
Adjust the line's color, height, and thickness in the settings.

