Go to Appearance -> Elementor Header & Footer Builder to build a header or footer layout using Elementor.
Click on “Add New” and design a template with Elementor.
Once the template is ready, set is as a header/footer/block using options “Type of Template” (screenshot).
a) For Header/Footer – Select the target location with the option “Display On”. With this Header/Footer will be visible only on selected locations for selected “User Roles”.
b) For Custom Block – Just copy the shortcode and add it anywhere on the website. Your designed template will display automatically. Display conditions or user roles will not be effective with shortcodes.