Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #876537

    Hi,

    I’m creating a very simple webshop and with the products there is a button that says More Information. If I click this button I would like to have a pop-up or modal that displays the information.

    I started with this thread: https://kriesi.at/support/topic/open-popup-modal-with-button/ and got that working. But when I try to change it from link to button, it stops working. What I had so far:

    <div id="test-popup" class="white-popup mfp-hide">
    
    PLACE CONTENT HERE
    
    </div>
    
    [av_button label='Meer informatie' link='#test-popup' link_target='' size='small' position='center' icon_select='no' icon_hover='' icon='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' custom_class='open-popup-link']

    Can you maybe help me with the finishing touch? Thanks very much!

    Cheers, Daniel

    #876977

    Hey Daniel,

    I’m not sure what you mean by this:

    But when I try to change it from link to button, it stops working.

    Could you clarify please? Also, can we see the actual problem somewhere?

    Best regards,
    Rikard

    #877040

    Hi Rikard,

    I see I posted the wrong link in the first post, sorry! I started with this thread: https://kriesi.at/support/topic/contact-form-in-pop-up-prettyphoto-issue/

    Here they use <a class="open-popup-link" href="#test-popup">Show inline popup</a> that works perfectly, but when I try to use a button instead of a link, it doesn’t work.

    Does this explain the situation?

    #877739

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Yigit

    #878018

    Hi Yigit,

    Thanks! Link is in private section.

    #879988

    Hi,

    The class attribute “open-popup-link” should be applied in the link tag. Please extract the html code of the button then place it inside a text or code block. Move the class attribute “open-popup-link” to the link tag. Example:

    
    <div class="avia-button-wrap avia-button-center"><a href="#test-popup" class="avia-button open-popup-link avia-icon_select-no avia-color-theme-color avia-size-small avia-position-center "><span class="avia_iconbox_title">Meer informatie</span></a></div>
    

    Best regards,
    Ismael

    #880114

    Hi Ismael, thanks for the answer, it works great now!

    #880144

    Hi,

    Glad to hear that. Thanks for using Enfold :)

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Simple text in popup when clicking a button’ is closed to new replies.