I’m trying to centre some text vertically in a thumbnail element, and have had to resort to using
elements since the height is 100% rather than a pixel value. This is working except that for some reason the link is changing to be target="_blank". Can anyone help?
You can see the test version using the link below - it’s the thumbnail images on the right hand side. If you use inspect element when the page loads you’ll see there is no target="_blank" but when you click the link it’s added and the link opens in a new window.
This has nothing to do with Roots and everything to do with your custom JS. Please keep non-Roots debugging to Stack Overflow or one of its equivalents. Thanks.