Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #390234
    Tristan A
    Participant

    Hi there,

    Thanks! Unfortunately, I think I am doing something wrong.

    I added a RAW content element on that page with the code you provided. However, the button now shows with the text: “SIGN UP[LIGHTBOX SELECTOR=”.LIGHTBOX-SELECTOR”]

    Should I put the RAW element somewhere else? If so, where?

    #390237
    Rupok
    Member

    Hi there,

    Yes you have to place the code in Raw Content, so you are doing it right maybe. It seems the shortcode not working. Would you please point the exact URL you are using it. Also provide the WordPress login credentials (uf you already provided, then make sure it works).

    Thanks

    #390303
    Tristan A
    Participant
    This reply has been marked as private.
    #390314
    Lely
    Moderator

    Hello Tristan,

    Currently. Shortcodes doesn’t work in the Topbar that’s why you see the lightbox shortcode. For the shortcode to work please paste the code below to your child theme’s functions.php file.

    add_filter('x_option_x_topbar_content', 'top_bar_content_shortcode');
    function top_bar_content_shortcode ( $content ) {
    return do_shortcode ( $content );
    }

    Hope it helps, Cheers!

    #390342
    Tristan A
    Participant

    I think we’re getting there!

    The button now shows the way it should….. However, clicking it doesn’t do anything?

    I would be really grateful if you could continue to help me through this…. I am sure tons of users would like to have this feature!

    #390358
    Lely
    Moderator

    Hello Tristan,

    Upon checking, the button is now working. See screenshot:

    #390511
    Tristan A
    Participant

    Thanks again!

    Just a quick question: Were you using chrome when you took the screenshot?

    Because on my end it works fine with Edge on the laptop and chrome on the mobile, but for some reason it doesn’t work with chrome on the laptop. I am trying to figure out still what the issue with chrome could be (not caching, I checked)

    #390543
    Paul R
    Moderator

    Hi Tristan,

    I am a different support staff.

    I tried in chrome, firefox, safari and your button is working in all three of them.

    Make sure javascript is enabled in your browser and try in chrome incognito mode(Control-Shift-N for Windows and Linux, Command-Shift-N for OS X).

    If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.

    Thanks

    #674157
    Leanna
    Participant
    This reply has been marked as private.
    #674486
    Rad
    Moderator

    Hi Leanna,

    What you’re trying is to open lightbox upon clicking submit, and transfer data (eg. email) to another page within the lightbox. In which they are separate forms with their respective validations. Unfortunately, it’s not currently possible it’s not supported by current lightbox. But, it should be possible through customization but complex.

    Thanks for understanding.

    #674983
    Leanna
    Participant

    ok thanks

    #674989
    Thai
    Moderator

    You’re most welcome 🙂

    #682918
    Leanna
    Participant
    This reply has been marked as private.
    #683125
    Lely
    Moderator

    Hello Leanna,

    Thank you for giving us your admin credentials.
    Upon checking, lightbox is working fine:

    We can add width to avoid horizontal scrolling.

    <div id="my-content" style="display:none;width:auto;">
    [si-contact-form form='3']
    </div>

    Hope this helps.

    #780696
    Leanna
    Participant

    Hey if anybody else out there prefers Lightbox Plus Colorbox Plugin for its ability to be SIZED DOWN and not fill the entire screen like the packaged lightbox does, here’s how to get it to work with the x-btn button shortcode! (grand discovery just now)

    
    <a class="lbp-inline-link-1 x-btn" href="#">Click Me</a>
    <div style="display:none">
        <div id="lbp-inline-href-1" style="padding: 10px;background: #fff">
    (your content goes here)
        </div>
    </div>
    
  • <script> jQuery(function($){ $("#no-reply-8524 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>