Button with shortcode on the header
-
Good day) How to add button with shortcode in the header? I wanna open popup after pushing the button. I tried to add it in the header through button, html-code and I couldnt do it)
Hello,
You can try creating an HTML Block and add the POPup element in it and then try adding the HTML block to the header by using the HTML block element.
Screenshot for Clarification: https://prnt.sc/103fpqe
Regards.
Xtemos Studios.
Hi again) I have done it by your way, but there is “padding” around DIVs from elementor, and I cant rewrite it, and anyway this CSS is global. So, the button has a gap between it and other parts of bar.
I want to add ID for this DIV special, but I really dont know how to add ID to one, particular DIV from Element builder.
I’ll add a screen
Pls help! :c
PS: it doesn’t work through button’s ID, which could be set from Elementor editor, cuz this padding belongs “invisible” div
Attachments:
You must be
logged in to view attached files.
Hello,
I saw the screenshot you attached.
Please try adding the following Custom CSS in the Custom CSS for Desktop area under Theme Settings >> Custom CSS.
.whb-top-bar .elementor-element .elementor-button {
margin-right: -20px;
}
Regards.
Xtemos Studios.