Yes, I had used the given code.
Still the header image is not coming at center.
Here it is: https://prnt.sc/12yo8c1