Jumbotron Button open in new tab

Is there a way to make the button on the jumbotron open the link in a new tab? I tried just putting html into the link but that removes the button altogether.

To achieve this you need to add a target="_blank" in sections> front-page-bottom-header.php file


add where?

<div class=“bottom-header front-page”>
<div class=“container”>
<div class=“row”>
<?php if( $first_row_from_title || $second_row_from_title || $third_row_from_title ): ?>
<div class=“col-sm-12”>
<h2><?php if( $first_row_from_title ): echo ‘<span data-customizer=“first-row-from-title”>’. illdy_sanitize_html( $first_row_from_title ) .’</span><span class=“span-dot first-span-dot”>’. __( ‘.’, ‘illdy’ ) .’</span>’; endif; ?> <?php if( $second_row_from_title ): echo ‘<span data-customizer=“second-row-from-title”>’. illdy_sanitize_html( $second_row_from_title ) .’</span><span class=“span-dot second-span-dot”>’. __( ‘.’, ‘illdy’ ) .’</span>’; endif; ?> <?php if( $third_row_from_title ): echo ‘<span data-customizer=“third-row-from-title”>’. illdy_sanitize_html( $third_row_from_title ) .’</span>’; endif; ?></h2>
<?php endif; ?>
<div class=“col-sm-8 col-sm-offset-2”>
<?php if( $entry ): ?>
<p><?php echo illdy_sanitize_html( $entry ); ?></p>
<?php endif; ?>
<?php if( $first_button_title && $first_button_url ): ?>
" title="<?php echo esc_attr( $first_button_title ); ?>" class=“header-button-one”><?php echo esc_html( $first_button_title ); ?>
<?php endif; ?>
<?php if( $second_button_title && $second_button_url ): ?>
" title="<?php echo esc_attr( $second_button_title ); ?>" class=“header-button-two”><?php echo esc_html( $second_button_title ); ?>
<?php endif; ?>


You need to add it in the <a href=""> syntax:

<a target="_blank" href="<?php echo esc_url( $first_button_url ); ?>" title="<?php echo esc_attr( $first_button_title ); ?>" class="header-button-one"><?php echo esc_html( $first_button_title ); ?></a>

Best regards

awesome thanks