Jump to content

7.1 Add vertical line full height (100%)

Recommended Posts

Site URL: https://gar-grouper-xgll.squarespace.com/config/pages

Hello everyone,

I would like the vertical line to have the same height like the nav links on the right. The number of sub categories changes so should the line height.

Unfortunately, as soon as I change the height from "pt" to "%" the line disappears.

Hope you can help me with this issue.

.vertical-line {
  height: 100%; /* line height */
  width: 1px; /* line width */
  background: #a8a6a1; /*line colour*/
  margin-right: 10px;
  margin-left: 10px;
}

 

vertical line.JPG

Edited by ando_337
Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

On 10/8/2022 at 7:20 AM, ando_337 said:

Site URL: https://gar-grouper-xgll.squarespace.com/neue-seite-3

Hello everyone,

I would like the vertical line to have the same height like the nav links on the right. The number of sub categories changes so should the line height.

Unfortunately, as soon as I change the height from "pt" to "%" the line disappears.

Hope you can help me with this issue.

.vertical-line {
  height: 100%; /* line height */
  width: 1px; /* line width */
  background: #a8a6a1; /*line colour*/
  margin-right: 10px;
  margin-left: 10px;
}

 

vertical line.JPG

Can you check the link again? I can not access it now

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 10/10/2022 at 2:29 AM, ando_337 said:

Which page are you referring to? /config is admin url

https://gar-grouper-xgll.squarespace.com/?noredirect

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 10/18/2022 at 3:53 AM, ando_337 said:

You try using this CSS code (Design > Custom CSS) to add line

@media screen and (min-width:768px) {
div#page-section-632ef01c3056c01d0d67996c .span-5 {
    border-left: 1px solid gray;
    margin-left: -1px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.