Home Forums WoodMart support forum Button with shortcode on the header

Button with shortcode on the header

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #268261

    AivenPost
    Participant

    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)

    #268279

    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.

    #268665

    AivenPost
    Participant

    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.
    #268707

    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.

Viewing 4 posts - 1 through 4 (of 4 total)