Forum Replies Created
-
AuthorPosts
-
That did it! Thanks, Mike.
That did it!!!!
Thank you so much for your help.
-James
Thank you for your help and continued patience. I performed the steps mentioned above, and it worked for all the individual images on the page. However, the masonry gallery on the page still remains in its own lightbox.
Mike,
I am still a bit foggy about what I am supposed to do here. Can you please confirm:
1. add the following code to the custom PHP file within my child theme:
function handle_lightbox_groups_in_gallery(){
?>
<script>
(function($){
$(window).on(‘load’,function() {
$(‘.group-1 .lightbox-added’).attr(‘data-group’, ‘1’);
$(‘.group-2 .lightbox-added’).attr(‘data-group’, ‘2’);
$(‘.group-3 .lightbox-added’).attr(‘data-group’, ‘3’);
$(‘.group-4 .lightbox-added’).attr(‘data-group’, ‘4’);
$(‘.group-5 .lightbox-added’).attr(‘data-group’, ‘5’);
$(‘.group-6 .lightbox-added’).attr(‘data-group’, ‘6’);
$(‘.group-7 .lightbox-added’).attr(‘data-group’, ‘7’);
$(‘.group-8 .lightbox-added’).attr(‘data-group’, ‘8’);
// …var groups = {};
$(‘.lightbox-added’).each(function() {
var id = parseInt($(this).attr(‘data-group’), 10);
if(!groups[id]) {
groups[id] = [];
}
groups[id].push( this );
});$.each(groups, function() {
$(this).magnificPopup({
type: ‘image’,
mainClass: ‘avia-popup mfp-zoom-in mfp-image-loaded’,
closeOnContentClick: false,
closeBtnInside: false,
gallery: { enabled:true }
})
});
});
})(jQuery);
</script>
<?php
}
add_action(‘wp_footer’, ‘handle_lightbox_groups_in_gallery’);2. add ____ to the custom CSS field on each image on a given page
????Thanks
Thank you for the reply, but I am still a novice at this, so please forgive me for not quite understanding. Do I add the above to my PHP file for my child theme and then attach a custom CSS class to each image?
This is perfect!!!
Thank you.
-James
Please close the ticket.
I appreciate your help.
Thank you sir.
Thank you, but this isn’t quite what I’m looking for. I want the menu icon always to be visible, and the logo only appears on scroll.
Yes, I did this, but it didn’t make a difference.
Of note, google is also flagging my first text field.
Hi Ismael,
Sorry, I forgot to disable 2FA temporarily, but it is now. To answer your questions, yes, I did have some animations in one of the reported fields but I turned it off after reading other threads on this topic. However, this has not improved my score. As for your custom script question, the answer there is no.
Again any help or insight you can provide is greatly appreciated.
-James
Mike,
This worked perfectly. Thank you so much, sir.
-James
February 24, 2023 at 3:21 pm in reply to: When adding links to grid row columns I get unwanted borders #1399169Hello Enfold team,
I was also experiencing this issue, and the CSS provided by i9design did fix it. However, I wanted to point out that this is still an issue. I have the “no borders” option selected for my grid row, and everything is styled correctly until I add a link to the entire column. As soon as I do, I get two vertical borders.
Again i9design’s CSS fixes it, but the bug still exists.
-James
That worked perfectly! Thank you so much.
That did it!
Thank you, Yigit.
Thank you. This worked perfectly with one exception. Once I start to scroll down, I get a bottom border line where the header is. I would like to remove this as well, please.
-
AuthorPosts