Quantcast
Channel: Threads Archive - SiteOrigin
Viewing all articles
Browse latest Browse all 290

How to stop clicking images on Attachment page from changing pages?

$
0
0

Hello.

When I click on an image on an attachment page, it takes me to the page of the next image. The URL of “Navigation to: URL” that can be seen in “#image-navigation.site-navigation” checked in Custom CSS is the URL of the attachment page after the Media image. Is it possible to change this, or at least set it so that it doesn’t jump to another page?

One method I was told was to use CSS


img {
pointer-events: none;
}

I tried it, but it made it impossible to use images with correct links on other pages, so this is no good.
Please tell me a good way to fix this.

Thank you in advance.

The post How to stop clicking images on Attachment page from changing pages? appeared first on SiteOrigin.


Viewing all articles
Browse latest Browse all 290

Trending Articles