Need help? Check out our Support site, then


Open all links on one particular page in new tab using custom CSS

  1. Is there a way to set all links on one particular page to open in a new tab using custom CSS?

    This is the page I'm referring to http://writingsouthwest.org/events

    Unfortunately iCal is the only way I've found to do event listings on WordPress.com. I would, however, like the links on this page to open in a new tab without setting that as the default across my entire site.

    Any advice much appreciated.

    The blog I need help with is writingsouthwest.org.

  2. CSS determines how things look, not how they work. A link that opens in a new browser window/tab requires the HTML target attribute.
    To correct the page, you can select each link in the Visual editor, click the link tool, and check the option "Open link in a new window/tab", or you can switch the editor to Text (=code) and turn each one of these:
    <a href="ETC ETC
    to:
    <a target="_blank" href="ETC ETC

Topic Closed

This topic has been closed to new replies.

About this Topic