HTML code of the header

Hello,

I have a subdomain for the help section of my website, using a third party software. There is the possibility to edit the header by adding our own HTML code. I’d like to replicate the header I have on the rest of the website (built with Theme Pro). Is there a way to easily copy the HTML code of the header? How to do this?

URL of my site: https://neowebsite.io/
URL of the help section: https://aide.neowebsite.io/

I’d like to do the same with the footer of the site.

Thanks,
Antoine

Hello Antoine,

Thanks for writing in!

You can copy the html codes of your site by using the View Page Source option in your browser. If you are very much familiar with html then you know which one to copy over. The only problem is that you will also need to have css styles loaded in your help site which may not be possible because the css styling of the header and footer were loaded separately and away from the html code.

What you have in mind might be simple as copying html but it’s not. As soon as you copy the html, it will get complicated because of the formatting issues and other built in styling which is only available in Pro theme’s style.css. Copying can be done. It is the styling that will give you a hard time and maybe impossible to do it since your help site has a completely different structure than the Pro theme.

Hope this make sense.

Thanks for the clarification. This is what I had in mind and I was hopping there would be a solution to tweak this problem. As I understand, there no out of the box solution to do it.

Is there any tool you know or could recommand that would help be getting something automatically?

Thanks,
Antoine

Hi @Lecoqdigital,

Thanks again for asking!

Unfortunately, there is no such tool that you can copy and paste the HTML and CSS automatically. You have to design it manually.

Here is a tool may help you to create the header then you can copy paste it in your wide.

Thanks

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