Home › Forums › Support › Adding Lines to Widget Title This topic has 5 replies, 3 voices, and was last updated 6 years, 2 months ago by Tom. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts February 21, 2018 at 9:22 am #502145 Clare I want to add lines on either side of the widget title. It would look something like this: —— WIDGET TITLE —— Thank you so much for your help! February 21, 2018 at 11:36 am #502263 LeoStaff Customer Support Hi there, What you typed above should work in widget title field. Does it not? February 21, 2018 at 11:43 am #502266 Clare I don’t want to add dashes, but a line, similar to the widget titles of this blog: http://www.kwernerdesign.com February 21, 2018 at 8:48 pm #502485 TomLead Developer Lead Developer Hi Clare, Give this a shot: .widget-title { position: relative; z-index: 1; overflow: hidden; text-align: center; } .widget-title:before, .widget-title:after { position: absolute; top: 51%; overflow: hidden; width: 50%; height: 1px; content: ''; background-color: red; margin-left: 10px; } .widget-title:before { margin-left: calc(-50% - 10px); text-align: right; } February 22, 2018 at 7:22 am #502919 Clare Like a charm! Thanks Tom! February 22, 2018 at 11:36 am #503101 TomLead Developer Lead Developer You’re welcome! 🙂 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In