New Landing How can we help? Themeforest Theme Support Dante Allow FooBox to work on Portfolio Images

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #175661
    absolutnil
    Member
    Post count: 13

    Hi There,

    I am looking to add foobox functionality to images attached to a portfolio post. I have tried several things to try to get it to work with no avail. Here is a list of things I have tried:

    1. Prevented the built-in lightbox (view.js) from loading
    2. Added specific class names to the foobox settings to try to help foobox find the “.portfolio-item-content figure img” element directly
    3. Had foobox remove or try to unregister the view.js lightbox etc.
    4. Tested functionality on a simple image added to a wp page via “Add Media” and foobox works there.

    It appears that the image must have an A href around the image tag for it to work. Is there an easier way to add a A href around the img tags of portfolio posts than having to hard code the JS to place it around the img tags?

    Thanks in advance for any assistance. My site only lives locally at this point.

    Jay

    #176090
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Without being online is difficult to assist.
    You can check in the javascript console if some error pops out.

    -Rui

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register