PluginProbe ʕ •ᴥ•ʔ
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More / 3.5.4
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More v3.5.4
4.1.0 4.0.9 4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 trunk 1.0.0 2.0.0 2.0.1 2.0.2 2.0.3 3.0 3.0.1 3.0.2 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.4 3.2.5 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1
superb-blocks / src / admin / notices / wizard-woocommerce-notice.php
superb-blocks / src / admin / notices Last commit date
addons-notice.php 1 year ago wizard-recommender-notice.php 1 year ago wizard-woocommerce-notice.php 1 year ago
wizard-woocommerce-notice.php
87 lines
1 <?php
2
3 use SuperbAddons\Admin\Controllers\Wizard\WizardController;
4 use SuperbAddons\Data\Utils\Wizard\WizardActionParameter;
5
6 defined('ABSPATH') || exit;
7
8 $url = WizardController::GetWizardURL(WizardActionParameter::WOOCOMMERCE_HEADER);
9 ?>
10 <div class="notice notice-info superb-addons-wizard-notification is-dismissible <?php echo esc_attr($notice['unique_id']); ?>">
11 <div class="superbthemes-module-purple-badge"><?php echo esc_html__("Superb Addons", "superb-blocks"); ?></div>
12 <br>
13 <h2 class="notice-title"><?php echo esc_html__("Add a WooCommerce Header", "superb-blocks"); ?> </h2>
14 <p><?php echo esc_html__("We've noticed that you're using WooCommerce! Improve your store by adding a WooCommerce header with a visible 'Cart' button and other helpful features for your customers.", "superb-blocks"); ?></p>
15
16 <a class='button button-large button-secondary' href='<?php echo esc_url($url); ?>'><?php echo esc_html__("Add WooCommerce Header", "superb-blocks"); ?></a>
17
18 <style>
19 .superb-addons-wizard-notification {
20 background-repeat: no-repeat !important;
21 background-position: bottom right !important;
22 background-size: 530px !important;
23 padding: 30px !important;
24 }
25
26 .superb-addons-wizard-notification h2 {
27 font-size: 36px !important;
28 line-height: 125% !important;
29 margin: 0 !important;
30 }
31
32 .superb-addons-wizard-notification p {
33 color: #546E7A !important;
34 font-size: 17px !important;
35 margin: 15px 0 25px !important;
36 max-width: 550px !important;
37 }
38
39 .superbthemes-module-purple-badge {
40 color: #6448E7 !important;
41 padding: 12px 15px !important;
42 background: #EDE7F6 !important;
43 border-radius: 30px !important;
44 margin-bottom: 10px !important;
45 font-weight: 500 !important;
46 display: inline-block !important;
47 font-size: 13px !important;
48 line-height: 1 !important;
49 }
50
51 @media only screen and (max-width: 1280px) {
52 .superb-addons-wizard-notification p {
53 max-width: 430px !important;
54 }
55 }
56
57 @media only screen and (max-width: 1160px) {
58 .superb-addons-wizard-notification {
59 background-position: bottom -10px right -210px !important;
60 }
61 }
62
63 @media only screen and (max-width: 960px) {
64 .superb-addons-wizard-notification {
65 background-image: none !important;
66 }
67
68 .superb-addons-wizard-notification p {
69 max-width: 100% !important;
70 }
71
72 .superb-addons-wizard-notification h2 br {
73 display: none !important;
74 }
75 }
76
77 @media only screen and (max-width: 800px) {
78 .superb-addons-wizard-notification p {
79 font-size: 15px !important;
80 }
81
82 .superb-addons-wizard-notification h2 {
83 font-size: 28px !important;
84 }
85 }
86 </style>
87 </div>