Creating a heading with horizontal lines on either side

Hi there,

Trying to create a heading with horizontal lines on either side and having a little bit of trouble. I’ve tried to set this up using the headline element and the following code:


Heading Goes Here

But the heading itself continues to remain below both of the horizontal lines and I could use some help sorting it out. There is probably a better way to do this with X theme and if so, I’m all ears, or would be happy to receive advice on how to adjust the above setup to accomplish this.

I also tried adding the code given in this post: https://theme.co/apex/forum/t/heading-with-horizontal-lines-on-either-side/22020/2 but it didn’t work and instead created a header with a line through it, which isn’t what is needed.

Attached is an image of what I’m going for, the red arrows are pointing towards the desired effect.

The temp website where I’m making the adjustments is at: http://www.dandelionsblooming.dreamhosters.com/#author

Thanks.

Hi,

You can try the classic Custom Headline Element.

Enable accent and set text align to center.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.