• Resolved ninjaninja

    (@ninjaninja)


    I want to make the facebook & twitter icons in the top right hand corner of my site open in a new window.

    I tried doing this by adding target-new: window; to my css file (each button has its own style e.g .twitter and .facebook) but this didnt work

    is there another way i can do this?

    http://ninjaninja.co.uk/

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • you’ve to add the target=’_blank’ attr to the <a> for example:

    <a href="http://www.twitter.com/ninjaninjablog" class="twitter" target="_blank">Twitter</a>

    Peace,
    LastForOne

    Thread Starter ninjaninja

    (@ninjaninja)

    i cant believe i didnt think of that – so obvious now! Ive amended it in the header.php

    Thank you 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using CSS to target a new window’ is closed to new replies.