Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10779
    zrayweb
    Participant

    Hi there, I am having difficulty within this specific page: http://c25.078.myftpupload.com/portfolio_page/bridal

    The wordpress theme is using their version of a lightbox for galleries and I cannot figure out why this is not defaulting to swipebox since it seems to be pointing to lightbox as the main source for the image galleries within the theme. Would you need any other information from me?

    Also, I was able to prove that the swipebox is active by usign this code that I found on a wordpress forum that you were addressing a similar issue with:

    <a href="some/path/here" rel="lightbox">
        <img class="size-full wp-image-27354 alignleft" style="margin-right: 10px;" src="some/path/here" width="196" height="375" />
    </a>

    But even using that, I am unable to see how I could possible Code a solution within a gallery or series of images. This isn’t working properly with a default WordPress photo gallery either.

    Thanks in advance, really appreciate it.

    #10797
    Bartosz
    Keymaster

    Hi,

    Please try to find a way to disable the lightbox used in your theme first. Otherwise this will generate conflicts or JS errors with RL.

    Additionally, please use a new (since 1.5) syntax for galleries and use data-rel instead of rel attribute and change:

    rel="lightbox"

    to:

    data-rel="lightbox-gallery-1"

    number 1 is just an example (could be any number), this allows you to have multiple separate galleries on one page.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.