Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #1803828
Light box
Closed

Comments

  •  1
    caelsurfer started the conversation

    How can I make a button that displays a light box with a video or any content?

    thanks

  •  7,280
    Oliver replied

    Hi,

    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

  •  1
    caelsurfer replied

    Hi Gegor,

    This works great! 

    Forgive my ignorance, Im a beginner. How can I customize the link appearance? so it could looks like a GEM button. Just want to stylize this instance not all the links on the site. I tried to edit the CSS stylesheets but couldn't make it.

    Thanks again

  •  7,280
    Oliver replied

    Hi,

    pls. give me link to the page with fancy-box you added.

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

    Regards, Oliver