Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1645601
Modal Option
Closed

Comments

  • Shamser Suzon started the conversation

    Hello there;

    I am developing a website with TheGem theme. I need a Modal option in one part. Suppose, If click to the '"LEARN MORE" button then a modal window will open with some text info. Is there such modal option in this theme? Or how can I avail such functionality in my website as I am using TheGem theme? Please respond ASAP.

    Thanks

  •  7,095
    Oliver replied

    Hi,

    Here is an example of adding fancybox block: 

    To the row html shortcode add this code:

    <a class="fancybox" href="#link"> Link </a> <div id="link">[Shortcode]</div>
    

    And add this css to the custom css field on the page:

    #link {display: none} 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Shamser Suzon replied

    Your code works fine but hHow to implement this to the BUTTON element or a box eleiment of visual composer in TheGem theme. ?

  •  7,095
    Oliver replied

    Pls. give me link to the page with  fancybox block, I'll give you css for the styling it to the button. 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Shamser Suzon replied

    https://teknovisual.com/demo/demo-3/partners/

    Go to the above URL and you will find some image boxes. At present if click on the image boxes it goes to a URL in new tab. But I want to show a POP UP MODAL WINDOW to display some texts when I click on the images. Are you clear?

  •  7,095
    Oliver replied

    Hi,

    Sorry, we don't have such functionality in the theme, try to look third-party plugin for this feature. 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver