Home › Forums › Support › How to add two borders using hook This topic has 3 replies, 2 voices, and was last updated 4 years ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 12, 2019 at 6:44 am #836563 pancakebg Hey guys, i need to recreate the site in the URL below and i’m wondering how to add these borders on a same level which are located above the header taking only 50% of the screen. GeneratePress 2.2.2GP Premium 1.7.8 March 12, 2019 at 7:35 am #836763 DavidStaff Customer Support Hi there, pure CSS way using liner-gradients: body:before { content: ''; display: block; width: 100%; height: 20px; background: rgb(67, 62, 122); background: linear-gradient(90deg, rgba(67, 62, 122, 1) 50%, rgba(249, 6, 87, 1) 50%); } Just change the rgba colors to suit. Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ March 12, 2019 at 8:06 am #836806 pancakebg David, you’re the man! 😀 Thanks! March 12, 2019 at 8:54 am #836843 DavidStaff Customer Support Cool – happy to be of help Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In