Border around Headline element

Continuing the discussion from Headline border around text width:

I did this but is not working.

I have a headline with a left border, and it’s working great when the text is aligned to the left, but I want it in the center. Once I do that, the left border is still at the left side of the page.

Hi there,

What can you do instead is to remove the element CSS then set the left and right margin of the headline element to auto.

Then, set a max-width to the element that will fit enough of your text on one line.

Hope this helps.

No, that put the text align to the left again

Hi there,

I assume that you missed to do this part:

If you already did and it is still pushing the text block to the left, please provide us with the URL to your site and the admin access so we can check,

Thank you.

Still the same. Check this page https://colonialvanlines.com/ the part with the reviews, try to center that text with the left border

Hi there,

Would you mind providing the admin details to the site and then point out the headlines you are trying to center so that we can check your setup?

Thank you.

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