1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Admin link

Discussion in 'Styling and Customization Questions' started by BassMan, Aug 14, 2013.

  1. BassMan

    BassMan Well-Known Member


    How to open admin link (on the top right corner) in new window? Where can I find the code?
  2. Jeremy

    Jeremy Well-Known Member

    In the template moderator_bar find this code:
                    <a href="admin.php" class="acp adminLink"><span class="itemLabel">{xen:phrase admin_control_panel_short}</span></a>
    Change it to this (to add target="_blank"):
                    <a href="admin.php" class="acp adminLink" target="_blank"><span class="itemLabel">{xen:phrase admin_control_panel_short}</span></a>
    BassMan likes this.
  3. BassMan

    BassMan Well-Known Member

    I'm so happy I've moved to XenForo :)

    Excellent support, fast and kind. Thank you XenForo team!
    Adam Howard and Steve F like this.
  4. Scarface

    Scarface Member

    i have a question related to this how do i move it to the very left?
  5. Russ

    Russ Well-Known Member

    Can add this to extra.css

    html #moderatorBar .adminLink {
    float: left;
    Scarface likes this.
  6. Scarface

    Scarface Member

    @Russ thanks it worked like a charm

Share This Page