Website Building » Weebly » How Do You Make a Vertical Divider on Weebly?

How Do You Make a Vertical Divider on Weebly?

Last updated on September 28, 2022 @ 3:12 pm

You can make a vertical divider on Weebly by adding a line of code to your site’s HTML. To do this, open the Weebly editor and click on the “Edit HTML/CSS” button. Then, add the following line of code to the area where you want the divider to appear:

<hr>

This will create a horizontal line that will serve as a vertical divider on your Weebly site. You can style this line using the CSS code that is associated with it. For example, you can change the color, width, and other properties of the divider by adding the following code to your CSS file:

hr {

border: 2px solid red;

width: 100%;

}

You can also add additional styling to the divider by adding more CSS code. For example, you can add a background color or image by adding the following code to your CSS file:

PRO TIP: Weebly’s vertical divider tool can be tricky to use. If you’re not careful, you can end up with a divider that’s not vertically aligned. Be sure to use the preview function to check your work before you publish it.

hr {

border: 2px solid red;

width: 100%;

background-color: #FFF;

}

Adding a vertical divider on Weebly is a simple process that only requires a few lines of code. You can style the divider to match your site’s design by adding CSS code.

Kathy McFarland

Kathy McFarland

Devops woman in trade, tech explorer and problem navigator.