Hi maybe you can help. I fully understand how to click the “open in new window” click for a link on my site. However when I embed Amazon product on my site I add them in an LAYOUT with 5 boxes and add an classic Text inside where I copy the AMAZON HTML. this shows the product in the box. Now how can I add here that the link should be open in a NEW window please?
Thank you
Kindest Corina
Hello Corina,
Thanks for writing in!
Opening a link in a new window will need to have something like this in the code:
<a href="https://www.w3schools.com/" target="_blank">Visit W3Schools!</a>
- for reference: https://www.w3schools.com/html/html_links.asp
Now if you have the control over the Amazon html, then you can alter the links in it. If you only have a custom script from Amazon, then you must contact Amazon and ask further assistance regarding what you want to do with your Amazon links because we (X theme) do not have control over it.
Thanks for you understanding.
hi, thank you for your reply, I have a HTML link which looks like I can amend. I have added your link on several areas, but it is still opening in the same window. Is it possible to be more specific on where I have to add this link on to the existing code? Thank you C
hey RueNel I go it… just realised that amazon uk links open in new window but usa not, so compared the 2 links and amended them and it works
haha getting good at this !!Thanks anyway
You are most welcome.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.