Need help in creating global header

Screenshot 2023-05-23 at 4.19.01 PM.png
How should I create this header for my other landing pages, I have for one. I dont want to clone the landing page but want to create a new one

In case you want to change it you might want to make a module out of it. and make a template for it that you call in your landingpage template.

{% extends "/main-theme/templates/layouts/landingspage.html" %}

and In layouts you just call to your parials template

{% block header %}
{% global_partial path="../partials/header-simple.html" %}
{% endblock header %}

And in your partial you just call to the module.

<!--
 templateType: global_partial
 label: Website header
-->
<header style="background:#050508;box-shadow: 0px 4px 12px -2px rgba(16, 24, 40, 0.1);border-bottom: 1px solid #4d4d4d;" class="header">

 {% module "module_168250336437037" path='/main-theme/modules/Navigation - Simple.module', label="footer" %}

</header>

(this is how I did it. I have 2 headers both setup global but 1 is only for landingpages and error pages the other is just in de base.html)

where do I type these codes, ow to start. I have no idea of coding

What theme are you using?

need this global header for othe rlanding pages