Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #88306

    Abigail W
    Participant

    Hi, I wonder, if it possible to display text, or html content in lightbox, or any other way to display text while screen dimmed.

    Thanks

    #88391

    Cousett
    Member

    Hi Abigail,
    Your best bet may be to use the lightbox shortcode combined with the button shortcode. You can then link the button to any other webpage that you like (including one that has the text you want).

    The basic setup for this is

    [button class="btn-lightbox" href="image-1.jpg"]
    [lightbox selector=".btn-lightbox"]

    There’s more information on setting this up on the lightbox shortcode page: http://theme.co/x/member/kb/shortcode-walkthrough-lightbox/

    #88410

    Abigail W
    Participant

    Thanks, but what I want to display in lightbox is text, not an image. Is there way?

    Thanks

    #88428

    Cousett
    Member

    There is a great walkthrough on the lightbox – http://theme.co/x/member/kb/shortcode-walkthrough-lightbox/ If you add in the HREF the URL to the text you want to display then it should display that on click instead of an image. If I understood correctly this should get you the result you want if I misunderstood please help understand better what result you are trying to achieve.

    #88709

    Abigail W
    Participant

    Ok, thanks.
    How I can add title to this button, and change it color from default to transparent?
    Thanks

    #88746

    Rad
    Moderator

    Hi Abigail,

    You could check button shortcodes here http://theme.co/x/member/kb/shortcode-walkthrough-button/ and you’re able to add title=””.

    And about color customization, you can find it here http://theme.co/x/member/kb/implementing-additional-button-colors/

    Cheers!