All homepage images ignore lightbox plugin and when clicked they refresh home

Posted in: Newspaper
Post count: 8

I would like to know how to either make all the images work with the lightbox the way they do in posts, or at least not have any link at all to them so they don’t refresh the homepage when clicked.

Post count: 35449

Hi,
Normally the images from blocks modules should not open in lightbox and should redirect you to the article. Can you please provide a link to the website to investigate the situation with page refresh?
Thank you!

Post count: 8

Thank you for the reply.
https://pdffileprotectorregistry.com/

Just click on any image on the home page and it will refresh the entire homepage. This happens on phones when the image is tapped.

Post count: 35449

Hi,
If you are referring to this one https://i.imgur.com/pWZHwaM.png, this situation is because you use the logo element and the logo element uses a link on it, if a custom link is set, then it will go to that link, if no link is added, then it will link to the homepage. What you should do is to replace the logo element with an image element using tagDiv Composer.
Thank you!

Post count: 8

Well shoot, that makes sense. The thing is I’ve used the logo element on just about every image. Is there something I can add somewhere that disables that code in the logo element?

Post count: 35449

If you want to remove the link effect from logo I can provide a CSS.
.tdb-logo-a{
pointer-events: none!important;
}

Set the CSS in the theme panel > custom code> custom CSS.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.