Which kind of line have you inserted?
In this case, the easiest solution will be to make use of a top or bottom border to the paragraph in the header. The length of the border will adjust to the width of the paragraph itself.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|