WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
[resolved] adding colorbox manually (5 posts)

  1. iperez_genius
    Member
    Posted 3 years ago #

    I am sure this pretty basic.
    What class do i add to a link to make a colorbox appear?

    Ilan

  2. techotronic
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,
    do you mean a text link?
    You'll have to add the CSS class "colorbox-link".
    Cheers,
    Arne

  3. iperez_genius
    Member
    Posted 3 years ago #

    thanks very much, that worked

  4. raasdesign
    Member
    Posted 2 years ago #

    I'm trying to add the Colorbox option to open up a youtube video from an image or link.. any tips on how to do this? I've added the CSS class "colorbox-link" but that doesn't work. I have a small white box (about 25px x 40px) pop up but no video.

  5. techotronic
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,
    I guess you have followed the instructions on this page?
    http://www.techotronic.de/plugins/jquery-colorbox/opening-links-colorbox/

    The important thing here is the last paragraph, you'll have to enter width and height for the colorbox for links (there are three settings for width and height in total).
    Maybe I should make this more clear on my homepage and also add this to the FAQ... ;-)

    Cheers,
    Arne

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic