Support » Plugin: WPAdverts - Classifieds Plugin » Alternative Lightbox?

  • Resolved lausianne

    (@lausianne)


    Hi,

    Is there an easy way to exchange the current lightbox for a different one?

    My problem with it is that images can only be switched with arrows on the bottom. Bad location for me, because I (and probably others as well) keep touching the bottom of my screen, making the Windows task bar appear, hiding the arrows. Also, it is a far way down there on a large screen. Usually these arrows are left and right. And: the arrows only appear after clicking on the screen – I think they should always be visible.
    I’d prefer a floating lightbox, too. (Popup)

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    by lightbox do you mean the image viewer which opens when clicking on the image on Ad details page?

    If so then i am afraid it will be rather difficult to replace the script we are using currently (swipebox). That is removing the swipebox is simple but the script you will install instead would need to be able to work with the HTML code which WPAdverts Gallery generates by default and that would probably not work out-of-box.

    That being said if you link to a lightbox you would like to use instead then i can check if its possible to quickly replace the swipebox

    lausianne

    (@lausianne)

    Thanks. I’m using various lightboxes elsewhere, but don’t have a favourite. I’ll check and post when I find one.

    For starters, it would help if I could set this:
    hideBarsDelay : 3000, // delay before hiding bars on desktop

    If they never disappeared, it would solve half of the problem already. Actually, I think I can fix that with some CSS, too …

    Plugin Author Greg Winiarski

    (@gwin)

    Ok, when adding the custom CSS just make sure to do it in wp-admin / Appearance / Customize / Additional CSS panel so it won’t get overwritten on update.

    The code below should make the bottom arrows always visible

    
    div#swipebox-bottom-bar {
        bottom: 0 !important;
        transform: none !important;
    }
    
    lausianne

    (@lausianne)

    yes, that’s much better, thank you! This will do for the first version. Will hassle you again about it, when the client actually complains.

    Plugin Author Greg Winiarski

    (@gwin)

    Ok great, i am marking this thread as resolved then.

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