Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1089543

    Hello,

    i use the following code via ACF field in the archive template:

    <a class="lightbox-added lightbox avia_image" href="https://domain.net/wp/wp-content/uploads/2015/03/woman10b.jpg" rel="lightbox" title="">
            <img src="https://domain.net/wp/wp-content/uploads/2015/03/woman10b.jpg" alt=""><span class="image-overlay overlay-type-image" style="left: -5px; top: 0px; overflow: hidden; display: block; height: 399px; width: 409px;"><span class="image-overlay-inside"></span></span></a>

    But the image will not be open in a lightbox. What is the problem?

    • This topic was modified 5 years, 7 months ago by Chris_85.
    #1089678

    Hey Chris_85,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1103271

    Hello, you can find the cedentials in the private section! I hope you can help

    <a href="https://dmain.net/wp/wp-content/uploads/2019/04/murmelbaum-1.jpg" rel="lightbox" title="">
                    <img src="https://domain.net/wp/wp-content/uploads/2019/04/murmelbaum-1.jpg" alt="Murmelbaum Small" /><span class="image-overlay overlay-type-image" style="left: -5px; top: 0px; overflow: hidden; display: block; height: 300px; width: 409px;"><span class="image-overlay-inside"></span></span></a>
    • This reply was modified 5 years, 6 months ago by Chris_85.
    #1103511

    Hi Chris_85,

    Thanks for giving us admin access, I have fixed in your child theme (woocommerce > archive.php).
    I have replaced:

    <div class="container-left-sp single-product-main-image alpha">
                    <a class="lightbox-added lightbox avia_image" href="<?php echo $special_product['image']['url']; ?>"  rel="lightbox" title="" rel="product_images[grouped]">

    with:

    <div class="container-left-sp single-product-main-image alpha post-entry">
                    <a class="lightbox avia_image" href="<?php echo $special_product['image']['url']; ?>"  rel="lightbox" title="" rel="product_images[grouped]">

    Let us know if you need further assistance.

    Best regards,
    Nikko

    #1103590

    Thanks Nico, so fo the future i need the class “lightbox avia_image” to trigger the lightbox, right?

    Best regards
    Chris

    #1103607

    Hi Chris,

    Yes, the important is the class post-entry on the wrapping div.
    The lightbox-added will be added once the script runs.

    Best regards,
    Nikko

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