Skip to content

Commit 8535c8d

Browse files
chore: tweaked upgrade button in settings
1 parent c21bfa8 commit 8535c8d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/welcome/admin.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,16 @@ body[class*="page_stk-"] {
6969
border-radius: 4px;
7070
font-weight: 600;
7171
text-transform: unset !important;
72-
width: 200px;
7372
text-align: center;
7473
position: absolute;
7574
right: 50px;
7675
transition: all 0.1s ease-in-out;
7776
text-decoration: none;
7877
border: none;
7978
color: #fff;
79+
letter-spacing: 0.5px;
8080
padding: 12px 20px;
8181
text-transform: uppercase;
82-
letter-spacing: 1px;
8382
font-size: 14px;
8483
cursor: pointer;
8584
box-sizing: border-box !important;
@@ -423,7 +422,7 @@ body.toplevel_page_stk-custom-fields {
423422
color: #fff;
424423
padding: 12px 20px;
425424
text-transform: uppercase;
426-
letter-spacing: 1px;
425+
letter-spacing: 0.5px;
427426
font-size: 14px;
428427
cursor: pointer;
429428
box-sizing: border-box !important;

src/welcome/index.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,10 @@ public static function print_header( $title = '', $image = 'logo' ) {
166166

167167
public static function print_premium_button() { ?>
168168
<?php if ( ! sugb_fs()->can_use_premium_code() ) : ?>
169-
170-
<a href="https://wpstackable.com/premium/?utm_source=wp-settings-tabs&utm_campaign=gopremium&utm_medium=wp-dashboard" class="s-button s-premium-button" title="<?php esc_attr_e( 'Get Stackable Premium', STACKABLE_I18N ) ?>" target="_new"><?php esc_attr_e( 'Upgrade to Premium', STACKABLE_I18N ) ?></a>
169+
<a href="https://wpstackable.com/premium/?utm_source=wp-settings-tabs&utm_campaign=gopremium&utm_medium=wp-dashboard" class="s-button s-premium-button" title="<?php esc_attr_e( 'Unlock my Premium Features', STACKABLE_I18N ) ?>" target="_new">
170+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="16" height="16" style="vertical-align: middle; fill: currentColor"><path d="M321.7 0c19.1 0 32.9 18.3 27.6 36.6L295.8 224l85.2 0c19.3 0 34.9 15.6 34.9 34.9c0 10.3-4.5 20-12.3 26.6L144.9 505.2c-5.2 4.4-11.8 6.8-18.6 6.8c-19.1 0-32.9-18.3-27.6-36.6L152.2 288l-86.4 0C47.1 288 32 272.9 32 254.3c0-9.9 4.3-19.2 11.8-25.6L303.1 6.9C308.3 2.4 314.9 0 321.7 0zM285.6 85L104.4 240l79.6 0c7.5 0 14.6 3.5 19.2 9.5s6 13.8 3.9 21L162.3 427.5 345.5 272 264 272c-7.5 0-14.6-3.5-19.2-9.5s-6-13.8-3.9-21L285.6 85z"/></svg>
171+
<?php esc_attr_e( 'Unlock my Premium Features', STACKABLE_I18N ) ?>
172+
</a>
171173
<?php endif; ?>
172174
<?php
173175
}

0 commit comments

Comments
 (0)