-
AuthorPosts
-
April 11, 2019 at 1:37 pm #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.
April 11, 2019 at 7:05 pm #1089678Hey Chris_85,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
NikkoMay 22, 2019 at 1:54 pm #1103271Hello, 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.
May 23, 2019 at 4:17 am #1103511Hi 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,
NikkoMay 23, 2019 at 8:50 am #1103590Thanks Nico, so fo the future i need the class “lightbox avia_image” to trigger the lightbox, right?
Best regards
ChrisMay 23, 2019 at 10:13 am #1103607Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.