• Resolved meeee2

    (@majdaly)


    Hi,

    A client wants to change the position of the prev/next arrows so they always stay in the same position for each photo, regardless of the size of the photo.

    I found this in the FooBox Documentation for “sticky buttons” which used fbx-sticky-buttons, so this could be a solution for me:
    <a href="pic.jpg" rel="foobox[1]" data-modal-class="fbx-sticky-buttons"><img src="thumb.jpg" /></a>

    I get how this can be done when manually adding the FooBox link, but I’ve no idea how to do it in WordPress where the plugin automatically does this.

    How can I get the plugin to use fbx-sticky-buttons, or does anyone have any other suggestions on how to fix the position of the arrows? (FYI I’m using FooBox with FooGallery).
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @majdaly,

    Our Pro version of the FooBox offers additional options for the navigation icons including the Sticky navigation icons on the sides of the screen rather than to the side of the lightbox modal.

    If you are using the free version of FooGallery then the code example you have found should work for you.

    Thread Starter meeee2

    (@majdaly)

    @phillcoxon, thanks for your reply.
    How can I use that code example in WordPress? The WP plugin automatically adds the foobox links so is there a hook or some way I can add the data-modal-class to the links in WordPress?

    Hi @majdaly,

    The example code you found only works for manually entered links (for example, adding links into a HTML / text editor block in a page builder) – there isn’t a way to automatically modify all WordPress links with FooGallery Free.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change position of prev/next,’ is closed to new replies.