Jump to content

Creating full heigh vertical divider in sections

Recommended Posts

Site URL: https://www.cocostudio.co/

Hello! I'm looking to create a full heigh vertical divider within a section. I've added the following coding:

Section code:

<div class="vl"></div>

Custom CSS:

[data-section-id="62e1f38caec9d111e7a01b51"] .content-wrapper {
    padding-top: 0 !important;
}

.vl {
  border-right: .5px solid #F8F5EC; 
  height: 400px; 
  position: absolute;
  left: 110%;
}

I can't seem to get the line to stretch to the top of the section and when the screen is smaller, it sinks below the section into the next. 

Any help would be appreciated!

 

Link to comment
  • Replies 1
  • Views 206
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.