dashboard.php
6 years ago
debug-mode.php
5 years ago
from-headers.php
6 years ago
pagination.php
6 years ago
responsiveness.php
5 years ago
responsiveness.php
45 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Responsive Options section under the "general" tab. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.3.0 |
| 7 | */ |
| 8 | |
| 9 | ?> |
| 10 | <div class="sui-box-settings-row"> |
| 11 | |
| 12 | <div class="sui-box-settings-col-1"> |
| 13 | <span class="sui-settings-label"><?php esc_html_e( 'Responsive Options', 'hustle' ); ?></span> |
| 14 | <span class="sui-description"><?php esc_html_e( 'Customize the options to control the responsiveness of your modules.', 'hustle' ); ?></span> |
| 15 | </div> |
| 16 | |
| 17 | <div class="sui-box-settings-col-2"> |
| 18 | |
| 19 | <div class="sui-form-field"> |
| 20 | |
| 21 | <label for="hustle-mobile-breakpoint" id="hustle-mobile-breakpoint-label" class="sui-settings-label"><?php esc_html_e( 'Mobile Breakpoint', 'hustle' ); ?></label> |
| 22 | |
| 23 | <span id="hustle-mobile-breakpoint-description" class="sui-description" style="margin-bottom: 10px;"> |
| 24 | <?php esc_html_e( "Choose how small the visitors' browser screen should be to kick in the mobile-specific styling and layout. The default value is 782px.", 'hustle' ); ?> |
| 25 | </span> |
| 26 | |
| 27 | <input |
| 28 | type="number" |
| 29 | name="mobile_breakpoint" |
| 30 | min="1" |
| 31 | value="<?php echo esc_attr( $settings['mobile_breakpoint'] ); ?>" |
| 32 | id="hustle-mobile-breakpoint" |
| 33 | class="sui-form-control sui-input-sm sui-field-has-suffix" |
| 34 | aria-labelledby="hustle-mobile-breakpoint-label" |
| 35 | aria-describedby="hustle-mobile-breakpoint-description" |
| 36 | /> |
| 37 | |
| 38 | <span class="sui-field-suffix" aria-hidden="true"><?php esc_html_e( 'px', 'hustle' ); ?></span> |
| 39 | |
| 40 | </div> |
| 41 | |
| 42 | </div> |
| 43 | |
| 44 | </div> |
| 45 |