I have a quick question

I’m using the following example code (https://tex.stackexchange.com/questions ... n-headings) and I would like to know is there a way to permanently fix the position of the middle text in the side bar (attached picture for better clarity, but I would like to write the following in the side bar-> chapter title (always far left on the page)…..company name (always in center of the pag) …..rightmark (always far right on the page)).
The attached picture shows the desired effect, my problem is when the chapter title or the section are longer they move the center of the side bar and the company name is moving (up and down) compared to different pages.
Hope I am being clear enough.