• I have some links that open in a new tab and others no, why and how I can change this? I would like all the links open in a new tab. For example in the address I specified before, I have listed 5 products by category, the links 2 and 3 are doing that, however the links 1, 4 and 5 are opening in a new tab.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    By checking the source code of the web page you linked, I could see that the target attributes of the a tags of product links are properly set with _blank, which opens the linked page in a new tab. However, when inspected from the browser developer tool which displays dynamically modified DOM elements, those _blank values are lost. This indicates you have a JavaScript script that strips them.

    I suggest your review your other plugins or theme that can modify tag attributes and cause such an issue.

    • This reply was modified 2 years, 10 months ago by miunosoft.
    Thread Starter rriera89

    (@rriera89)

    Thank you for your prompt reply. Probably is the theme,I will have to check. Is interesting that from the phone the links are working fine,only from the pc I am getting the issue.
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘no new tab’ is closed to new replies.