Custom code for multiple header in same page

Hello Community,

I have create two header in home page where one header is horizontal and another is vertical. I have fixed the horizontal header. In vertical header I have logo which I want to be in the center of horizontal header. So is there any way I can add custom code so that it will reflect on my vertical header. Right now any custom code I write, I paste it via Page Settings > Custom code section, then it is applying on horizonal header.

Please help me with this issue.

Regards,
Viraj Hapaliya