Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1113411
TOP AREA BUTTON
Closed

Comments

  •  2
    anqi89 started the conversation

    How to make top area button link target _blank

  •  7,092
    Oliver replied

    HI!

    in the:

    /wp-content/themes/thegem/top_area.php

    instad of (line 18)

    <?php thegem_button(array('href' => thegem_get_option('top_area_button_link'), 'text' => thegem_get_option('top_area_button_text'), 'size' => 'tiny',  'no-uppercase' => true), true); ?>

    Add this code

    <a class="gem-button gem-button-size-tiny gem-button-style-flat gem-button-text-weight-normal gem-button-no-uppercase" href="http://link,com" target="_blank">test</a>
    

    it's template just copy it to the child theme.

    Or add 

    'target' => '_blank',  

    after

    'size' => 'tiny',

    on line 18

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver