Clever Fox - Version 1.1.31

Version Description

  • Typography Feature Improved
Download this release

Release Info

Developer nayrathemes
Plugin Icon 128x128 Clever Fox
Version 1.1.31
Comparing to
See all releases

Code changes from version 1.1.30 to 1.1.31

clever-fox.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
- Version: 1.1.30
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
3
  Plugin Name: Clever Fox
4
  Plugin URI:
5
  Description: The Clever Fox plugin adds sections functionality to the Startkit theme and Others Nayra's Themes. This plugin for only startkit themes. Clever Fox is a plugin build to enhance the functionality of WordPress Theme made by Nayra Themes.
6
+ Version: 1.1.31
7
  Author: nayrathemes
8
  Author URI: https://nayrathemes.com
9
  Text Domain: clever-fox
inc/hantus/features/navigation.php CHANGED
@@ -154,8 +154,7 @@ function hantus_copyright_content_customize_register( $wp_customize ) {
154
  'nicename' => esc_html__( 'Content', 'hantus' ),
155
  'icon' => 'table',
156
  'controls' => array(
157
- 'copyright_content',
158
- 'footer_background_setting',
159
  ),
160
  ),
161
  ),
154
  'nicename' => esc_html__( 'Content', 'hantus' ),
155
  'icon' => 'table',
156
  'controls' => array(
157
+ 'copyright_content'
 
158
  ),
159
  ),
160
  ),
inc/hantus/features/section-typography.php CHANGED
@@ -1,6 +1,7 @@
1
- <?php function hantus_typography_customizer( $wp_customize ) {
 
2
  $wp_customize->add_panel( 'hantus_typography_setting', array(
3
- 'priority' => 134,
4
  'capability' => 'edit_theme_options',
5
  'title' => __('Typography','hantus-pro'),
6
  ) );
@@ -263,7 +264,7 @@ $wp_customize->add_section(
263
  $wp_customize->add_setting(
264
  'h1_text_transform' ,
265
  array(
266
- 'default' => 'lowercase',
267
  'capability' => 'edit_theme_options',
268
  'sanitize_callback' => 'sanitize_text_field',
269
  )
@@ -366,7 +367,7 @@ $wp_customize->add_section(
366
  $wp_customize->add_setting(
367
  'h2_text_transform' ,
368
  array(
369
- 'default' => __( 'lowercase', 'hantus-pro' ),
370
  'capability' => 'edit_theme_options',
371
  'sanitize_callback' => 'sanitize_text_field',
372
  )
@@ -468,7 +469,7 @@ $wp_customize->add_section(
468
  $wp_customize->add_setting(
469
  'h3_text_transform' ,
470
  array(
471
- 'default' => __( 'lowercase','hantus-pro' ),
472
  'capability' => 'edit_theme_options',
473
  'sanitize_callback' => 'sanitize_text_field',
474
  )
@@ -569,7 +570,7 @@ $wp_customize->add_section(
569
  $wp_customize->add_setting(
570
  'h4_text_transform' ,
571
  array(
572
- 'default' => 'lowercase',
573
  'capability' => 'edit_theme_options',
574
  'sanitize_callback' => 'sanitize_text_field',
575
  )
@@ -671,7 +672,7 @@ $wp_customize->add_section(
671
  $wp_customize->add_setting(
672
  'h5_text_transform' ,
673
  array(
674
- 'default' => 'lowercase',
675
  'capability' => 'edit_theme_options',
676
  'sanitize_callback' => 'sanitize_text_field',
677
  )
@@ -773,7 +774,7 @@ $wp_customize->add_section(
773
  $wp_customize->add_setting(
774
  'h6_text_transform' ,
775
  array(
776
- 'default' => 'lowercase',
777
  'capability' => 'edit_theme_options',
778
  'sanitize_callback' => 'sanitize_text_field',
779
  )
1
+ <?php
2
+ function hantus_typography_customizer( $wp_customize ) {
3
  $wp_customize->add_panel( 'hantus_typography_setting', array(
4
+ 'priority' => 33,
5
  'capability' => 'edit_theme_options',
6
  'title' => __('Typography','hantus-pro'),
7
  ) );
264
  $wp_customize->add_setting(
265
  'h1_text_transform' ,
266
  array(
267
+ 'default' => 'capitalize',
268
  'capability' => 'edit_theme_options',
269
  'sanitize_callback' => 'sanitize_text_field',
270
  )
367
  $wp_customize->add_setting(
368
  'h2_text_transform' ,
369
  array(
370
+ 'default' => __( 'capitalize', 'hantus-pro' ),
371
  'capability' => 'edit_theme_options',
372
  'sanitize_callback' => 'sanitize_text_field',
373
  )
469
  $wp_customize->add_setting(
470
  'h3_text_transform' ,
471
  array(
472
+ 'default' => __( 'capitalize','hantus-pro' ),
473
  'capability' => 'edit_theme_options',
474
  'sanitize_callback' => 'sanitize_text_field',
475
  )
570
  $wp_customize->add_setting(
571
  'h4_text_transform' ,
572
  array(
573
+ 'default' => 'capitalize',
574
  'capability' => 'edit_theme_options',
575
  'sanitize_callback' => 'sanitize_text_field',
576
  )
672
  $wp_customize->add_setting(
673
  'h5_text_transform' ,
674
  array(
675
+ 'default' => 'capitalize',
676
  'capability' => 'edit_theme_options',
677
  'sanitize_callback' => 'sanitize_text_field',
678
  )
774
  $wp_customize->add_setting(
775
  'h6_text_transform' ,
776
  array(
777
+ 'default' => 'capitalize',
778
  'capability' => 'edit_theme_options',
779
  'sanitize_callback' => 'sanitize_text_field',
780
  )
inc/hantus/typography_style.php CHANGED
@@ -13,32 +13,32 @@ function hantus_own_theme_typography() {
13
  $h1_font_weight = get_theme_mod('h1_font_weight','normal');
14
  $h1_font_size = get_theme_mod('h1_font_size','36');
15
  $h1_line_height = get_theme_mod('h1_line_height','46');
16
- $h1_text_transform = get_theme_mod('h1_text_transform','lowercase');
17
 
18
  $h2_font_weight = get_theme_mod('h2_font_weight','normal');
19
  $h2_font_size = get_theme_mod('h2_font_size','32');
20
  $h2_line_height = get_theme_mod('h2_line_height','46');
21
- $h2_text_transform = get_theme_mod('h2_text_transform','lowercase');
22
 
23
  $h3_font_weight = get_theme_mod('h3_font_weight','normal');
24
  $h3_font_size = get_theme_mod('h3_font_size','28');
25
  $h3_line_height = get_theme_mod('h3_line_height','34');
26
- $h3_text_transform = get_theme_mod('h3_text_transform','lowercase');
27
 
28
  $h4_font_weight = get_theme_mod('h4_font_weight','normal');
29
  $h4_font_size = get_theme_mod('h4_font_size','24');
30
  $h4_line_height = get_theme_mod('h4_line_height','28');
31
- $h4_text_transform = get_theme_mod('h4_text_transform','lowercase');
32
 
33
  $h5_font_weight = get_theme_mod('h5_font_weight','normal');
34
  $h5_font_size = get_theme_mod('h5_font_size','20');
35
  $h5_line_height = get_theme_mod('h5_line_height','15');
36
- $h5_text_transform = get_theme_mod('h5_text_transform','lowercase');
37
 
38
  $h6_font_weight = get_theme_mod('h6_font_weight','normal');
39
  $h6_font_size = get_theme_mod('h6_font_size','16');
40
  $h6_line_height = get_theme_mod('h6_line_height','24');
41
- $h6_text_transform = get_theme_mod('h6_text_transform','lowercase');
42
 
43
  $menu_font_weight = get_theme_mod('menu_font_weight','normal');
44
  $menu_font_size = get_theme_mod('menu_font_size','15');
@@ -68,14 +68,6 @@ h6 {
68
  font-weight: 500;
69
  }
70
 
71
- h4 {
72
- font-size: <?php echo $h4_font_size; ?>px;
73
- line-height: <?php echo $h4_line_height; ?>px;
74
- text-transform:<?php echo $h4_text_transform; ?>;
75
- font-style: <?php echo $h4_font_weight; ?>;
76
- font-weight: 400;
77
- }
78
-
79
  .section-title h2 {
80
  font-style: <?php echo $section_tit_font_weight; ?>!important;
81
  font-size:<?php echo $section_tit_font_size; ?>px!important;
@@ -86,37 +78,6 @@ h4 {
86
  font-size:<?php echo $section_desc_font_size; ?>px!important;
87
  }
88
 
89
- .boxed-btn {
90
- font-weight: 500;
91
- text-transform: capitalize;
92
- font-size: <?php echo $paragraph_font_size; ?>px;
93
- line-height: <?php echo $paragraph_line_height; ?>px;
94
- font-style: <?php echo $para_font_weight; ?>;
95
- }
96
-
97
- .input__label {
98
- font-weight: bold;
99
- font-size: 70.25%;
100
- }
101
-
102
- .input__label--hantus {
103
- text-align: left;
104
- font-size: <?php echo $paragraph_font_size; ?>px!important;
105
- font-weight: 400;
106
- }
107
-
108
- .preloader h1 {
109
- text-transform: uppercase;
110
- line-height: <?php echo $h1_line_height; ?>px;
111
- font-size: <?php echo $h1_font_size; ?>px!important;
112
- font-style: <?php echo $h1_font_weight; ?>!important;
113
- }
114
-
115
- .header-social li a {
116
- font-size: <?php echo $paragraph_font_size; ?>px!important;
117
- line-height: <?php echo $paragraph_line_height; ?>px!important;
118
- font-style: <?php echo $para_font_weight; ?>!important;
119
- }
120
 
121
  .main-menu li a {
122
  font-weight: 500;
@@ -125,440 +86,6 @@ h4 {
125
  text-transform: <?php echo $menu_text_transform; ?>!important;
126
  }
127
 
128
- .cart-icon-wrapper {
129
- font-size: <?php echo $paragraph_font_size; ?>px!important;
130
- }
131
-
132
- .cart-count {
133
- line-height: 20px;
134
- font-size: 12px;
135
- }
136
-
137
- .sidenav .sidenav-header h3 {
138
- font-size: <?php echo $h3_font_size; ?>px!important;
139
- }
140
-
141
- .sidenav .cart-item-description h4,
142
- .cart-remove,
143
- .sidenav .cart-item-description p {
144
- font-size: <?php echo $paragraph_font_size; ?>px!important;
145
- }
146
-
147
- .sidenav .cart-item-description {
148
- font-size: <?php echo $paragraph_font_size; ?>px!important;
149
- }
150
-
151
- .sidenav.active .cart-item {
152
- font-size: 0;
153
- }
154
-
155
- .sb-search-input {
156
- font-size: 20px;
157
- }
158
-
159
- .sb-icon-search,
160
- .sb-search-submit {
161
- line-height: 60px;
162
- }
163
-
164
- .header-slider h3 {
165
- font-family: 'Dancing Script', cursive;
166
- font-weight: 700;
167
- font-size: <?php echo $h3_font_size; ?>px;
168
- line-height: <?php echo $h3_line_height; ?>px;
169
- text-transform: <?php echo $h3_text_transform; ?>;
170
- font-style: <?php echo $h3_font_weight; ?>;
171
- }
172
-
173
- .header-slider h1 {
174
- line-height: <?php echo $h1_line_height; ?>px;
175
- font-size: <?php echo $h1_font_size; ?>px;
176
- text-transform: <?php echo $h1_text_transform; ?>;
177
- font-style: <?php echo $h1_font_weight; ?>;
178
- }
179
-
180
- .header-slider .owl-next,
181
- .header-slider .owl-prev {
182
- line-height: 50px;
183
- font-size: 24px;
184
- }
185
-
186
- .single-contact h4 {
187
- font-size: 20px;
188
- }
189
-
190
- .contact-wrapper i {
191
- font-size: 40px;
192
- }
193
-
194
- .contact-wrapper .single-contact:hover h4 {
195
- font-size: <?php echo $h4_font_size; ?>px!important;
196
- font-weight: 400;
197
- }
198
-
199
- .contact-wrapper .single-contact:hover p {
200
- font-size: 20px;
201
- font-weight: 500;
202
- }
203
-
204
- .service-box p.price {
205
- font-family: 'Dancing Script', cursive;
206
- font-size: <?php echo $paragraph_font_size; ?>px!important;
207
- font-weight: 700;
208
- }
209
-
210
- .tab-content ul li h4 .price {
211
- font-size: <?php echo $h4_font_size; ?>px!important;
212
- font-weight: 700;
213
- font-family: 'Dancing Script', cursive;
214
- }
215
-
216
- .feature-icon {
217
- line-height: 85px;
218
- }
219
-
220
- .feature-icon i {
221
- font-size: 40px;
222
- line-height: 85px;
223
- }
224
-
225
- .feature-box h4 {
226
- font-weight: 400;
227
- }
228
-
229
- .feature-box h4 {
230
- font-weight: 400;
231
- }
232
-
233
- .pricing-box h3 {
234
- font-size: <?php echo $h3_font_size; ?>px!important;
235
- }
236
-
237
- .pricing-box .price {
238
- font-size: <?php echo $paragraph_font_size; ?>px!important;
239
- font-weight: 400;
240
- }
241
-
242
- .pricing-box .price sup {
243
- font-size: 36px;
244
- font-weight: 500;
245
- }
246
-
247
- .pricing-box .price span {
248
- font-size: 48px;
249
- font-weight: 500;
250
- }
251
-
252
- .pricing-content li {
253
- line-height: 2;
254
- font-size: <?php echo $paragraph_font_size; ?>px!important;
255
- }
256
-
257
- .recomended-text {
258
- font-weight: 500;
259
- }
260
-
261
- #counter .single-box i {
262
- font-size: 45px;
263
- }
264
-
265
- #counter .single-box h3 {
266
- font-size: 40px;
267
- font-weight: 700;
268
- font-family: 'Dancing Script', cursive;
269
- }
270
-
271
- #counter .single-box p {
272
- font-size: <?php echo $paragraph_font_size; ?>px!important;
273
- }
274
-
275
- .single-product h5 {
276
- font-size: 18px;
277
- font-weight: 400;
278
- }
279
-
280
- .single-product .price {
281
- font-family: 'Dancing Script', cursive;
282
- font-weight: 700;
283
- font-size: <?php echo $paragraph_font_size; ?>px!important;
284
- }
285
-
286
- .single-product .overlay li a {
287
- line-height: 50px;
288
- font-size: 20px;
289
- }
290
-
291
- .product-carousel .owl-next,
292
- .product-carousel .owl-prev {
293
- line-height: 50px;
294
- font-size: 24px;
295
- }
296
-
297
- .single-testimonial p {
298
- font-size: <?php echo $paragraph_font_size; ?>px!important;
299
- line-height: <?php echo $paragraph_line_height; ?>px!important;
300
- }
301
-
302
- .single-testimonial h5 {
303
- font-size: 18px;
304
- font-weight: 500;
305
- }
306
-
307
- .single-testimonial p.title {
308
- font-size: <?php echo $paragraph_font_size; ?>px!important;
309
- }
310
-
311
- .testimonial-carousel .owl-next,
312
- .testimonial-carousel .owl-prev {
313
- font-size: 36px;
314
- }
315
-
316
- .opening-hours h3 {
317
- font-size: 36px;
318
- font-weight: 500;
319
- }
320
-
321
- .opening-hours p {
322
- font-size: <?php echo $paragraph_font_size; ?>px!important;
323
- }
324
-
325
- .opening-hours li {
326
- font-size: 18px;
327
- }
328
-
329
- .single-beauticians .social li a {
330
- line-height: 35px;
331
- font-size: 18px;
332
- }
333
-
334
- .single-beauticians h5 {
335
- font-size: 18px;
336
- font-weight: 500;
337
- line-height: 28px;
338
- }
339
-
340
- #subscribe i {
341
- font-size: 60px;
342
- }
343
-
344
- #subscribe h3 {
345
- font-size: 20px;
346
- font-weight: 500;
347
- line-height: 28px;
348
- }
349
-
350
- #subscribe p {
351
- font-size: <?php echo $paragraph_font_size; ?>px;
352
- line-height: <?php echo $paragraph_line_height; ?>px;
353
- font-style: <?php echo $para_font_weight; ?>;
354
- }
355
-
356
- #subscribe-form button {
357
- line-height: 24px;
358
- font-weight: 500;
359
- text-transform: uppercase;
360
- }
361
-
362
- .payment-method li a {
363
- font-size: 18px;
364
- line-height: 30px;
365
- }
366
- .scrollup {
367
- line-height: 50px;
368
- }
369
-
370
- #breadcrumb-area h2 {
371
- font-size: 42px;
372
- font-weight: 500;
373
- }
374
-
375
- #breadcrumb-area ul li,
376
- #breadcrumb-area ul li a {
377
- font-size: 18px;
378
- }
379
-
380
- #welcome .section-title h3 {
381
- font-size: 30px;
382
- font-family: 'Dancing Script', cursive;
383
- font-weight: 700;
384
- }
385
-
386
- .welcome-box h4 {
387
- font-size: 20px;
388
- }
389
-
390
- #wcu h2 {
391
- font-size: 40px;
392
- font-weight: 500;
393
- }
394
-
395
- #wcu p b {
396
- font-size: <?php echo $paragraph_font_size; ?>px!important;
397
- font-weight: 500;
398
- }
399
-
400
- .gallery-tab-sorting li a {
401
- font-size: 18px;
402
- }
403
-
404
- .gallery-page .gallery-item figcaption ul li a {
405
- font-size: 20px;
406
- line-height: 50px;
407
- }
408
-
409
- .gallery-page .gallery-item figcaption h4 {
410
- font-size: 24px;
411
- font-weight: 500;
412
- }
413
-
414
- #contact h2 {
415
- font-size: 40px;
416
- }
417
-
418
- .contact-form label {
419
- font-size: 18px;
420
- }
421
-
422
- .info-box i {
423
- font-size: 30px;
424
- }
425
-
426
- .info-box h4 {
427
- font-weight: 500;
428
- font-size: <?php echo $h4_font_size; ?>px;
429
- line-height: <?php echo $h4_line_height; ?>px;
430
- text-transform:<?php echo $h4_text_transform; ?>;
431
- font-style: <?php echo $h4_font_weight; ?>;
432
- }
433
-
434
- .info-box p {
435
- line-height: <?php echo $paragraph_line_height; ?>px!important;
436
- }
437
-
438
- .portfolio-tab-sorting li a {
439
- font-size: 16px;
440
- }
441
-
442
- .portfolio-page .portfolio-item figcaption h4 {
443
- font-size: <?php echo $h4_font_size; ?>px!important;
444
- font-weight: 500;
445
- }
446
-
447
- .portfolio-page .portfolio-item figcaption h6 {
448
- font-size: <?php echo $h6_font_size; ?>px!important;
449
- font-weight: 400;
450
- }
451
-
452
- .portfolio-page .portfolio-item figcaption a {
453
- font-size: <?php echo $h4_font_size; ?>px!important;
454
- font-weight: 400;
455
- }
456
-
457
- li.page-item .page-link {
458
- font-size: 18px;
459
- }
460
-
461
- .meta-info li a {
462
- font-size: 14px;
463
- font-weight: 400;
464
- }
465
-
466
- .blog-post .post-title a {
467
- font-size: 18px;
468
- font-weight: 500;
469
- line-height: 28px;
470
- }
471
-
472
- .blog-post a.read-more {
473
- font-size: 14px;
474
- }
475
-
476
- .single-post .post-title a {
477
- font-size: 24px;
478
- }
479
-
480
- .media ul li {
481
- font-size: 12px;
482
- }
483
-
484
- #page-404 h2 {
485
- font-size: 140px;
486
- font-weight: 600;
487
- }
488
-
489
- .coming-soon-wrapper h1 {
490
- font-size: <?php echo $h1_font_size; ?>px!important;
491
- font-weight: 600;
492
- }
493
-
494
- .count-area .text {
495
- font-size: 24px;
496
- text-transform: capitalize;
497
- }
498
-
499
- .subscribe-wrapper button {
500
- font-size: 16px;
501
- }
502
-
503
- .coming-soon-wrapper footer .social a {
504
- line-height: 35px;
505
- font-size: 16px;
506
- }
507
-
508
- .count-area .time-wrap span {
509
- font-size: 40px;
510
- letter-spacing: .05em;
511
- }
512
-
513
- .copyright a {
514
- font-size: 16px;
515
- }
516
-
517
- li.latest-news h6 {
518
- font-weight: 400;
519
- font-size: <?php echo $h6_font_size; ?>px;
520
- line-height: <?php echo $h6_line_height; ?>px;
521
- text-transform: <?php echo $h6_text_transform; ?>;
522
- font-style: <?php echo $h6_font_weight; ?>;
523
- }
524
-
525
- li.latest-news p {
526
- font-size: <?php echo $paragraph_font_size; ?>px;
527
- line-height: <?php echo $paragraph_line_height; ?>px;
528
- font-style: <?php echo $para_font_weight; ?>;
529
- }
530
-
531
- .widget_search input[type=button] {
532
- font-size: 14px;
533
- }
534
-
535
- .widget_recent_entries ul li a {
536
- font-size: <?php echo $h6_font_size; ?>px;
537
- line-height: <?php echo $h6_line_height; ?>px;
538
- text-transform: <?php echo $h6_text_transform; ?>;
539
- font-style: <?php echo $h6_font_weight; ?>;
540
- }
541
-
542
- .widdget-instagram li .instagram-overlay a {
543
- font-size: 36px;
544
- }
545
-
546
- .widget-acrhives li a {
547
- font-size: 16px;
548
- }
549
-
550
- #blog-content .widget-calender .widget-title li {
551
- font-size: 22px;
552
- }
553
-
554
- .calendar_wrap thead {
555
- font-size: 18px;
556
- }
557
-
558
- #page-404 h3 {
559
- font-size: <?php echo $h3_font_size; ?>px!important;
560
- }
561
-
562
  h1 {
563
  font-size: <?php echo $h1_font_size; ?>px!important;
564
  line-height: <?php echo $h1_line_height; ?>px!important;
13
  $h1_font_weight = get_theme_mod('h1_font_weight','normal');
14
  $h1_font_size = get_theme_mod('h1_font_size','36');
15
  $h1_line_height = get_theme_mod('h1_line_height','46');
16
+ $h1_text_transform = get_theme_mod('h1_text_transform','capitalize');
17
 
18
  $h2_font_weight = get_theme_mod('h2_font_weight','normal');
19
  $h2_font_size = get_theme_mod('h2_font_size','32');
20
  $h2_line_height = get_theme_mod('h2_line_height','46');
21
+ $h2_text_transform = get_theme_mod('h2_text_transform','capitalize');
22
 
23
  $h3_font_weight = get_theme_mod('h3_font_weight','normal');
24
  $h3_font_size = get_theme_mod('h3_font_size','28');
25
  $h3_line_height = get_theme_mod('h3_line_height','34');
26
+ $h3_text_transform = get_theme_mod('h3_text_transform','capitalize');
27
 
28
  $h4_font_weight = get_theme_mod('h4_font_weight','normal');
29
  $h4_font_size = get_theme_mod('h4_font_size','24');
30
  $h4_line_height = get_theme_mod('h4_line_height','28');
31
+ $h4_text_transform = get_theme_mod('h4_text_transform','capitalize');
32
 
33
  $h5_font_weight = get_theme_mod('h5_font_weight','normal');
34
  $h5_font_size = get_theme_mod('h5_font_size','20');
35
  $h5_line_height = get_theme_mod('h5_line_height','15');
36
+ $h5_text_transform = get_theme_mod('h5_text_transform','capitalize');
37
 
38
  $h6_font_weight = get_theme_mod('h6_font_weight','normal');
39
  $h6_font_size = get_theme_mod('h6_font_size','16');
40
  $h6_line_height = get_theme_mod('h6_line_height','24');
41
+ $h6_text_transform = get_theme_mod('h6_text_transform','capitalize');
42
 
43
  $menu_font_weight = get_theme_mod('menu_font_weight','normal');
44
  $menu_font_size = get_theme_mod('menu_font_size','15');
68
  font-weight: 500;
69
  }
70
 
 
 
 
 
 
 
 
 
71
  .section-title h2 {
72
  font-style: <?php echo $section_tit_font_weight; ?>!important;
73
  font-size:<?php echo $section_tit_font_size; ?>px!important;
78
  font-size:<?php echo $section_desc_font_size; ?>px!important;
79
  }
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
 
82
  .main-menu li a {
83
  font-weight: 500;
86
  text-transform: <?php echo $menu_text_transform; ?>!important;
87
  }
88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  h1 {
90
  font-size: <?php echo $h1_font_size; ?>px!important;
91
  line-height: <?php echo $h1_line_height; ?>px!important;
inc/startkit/features/section-typography.php CHANGED
@@ -63,14 +63,14 @@ $wp_customize->add_section(
63
  'sanitize_callback' => 'sanitize_text_field',
64
  )
65
  );
66
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
67
  'body_typography_font_weight', array(
68
  'label' => __('Font Style','spicepress'),
69
  'section' => 'Body_typography',
70
  'setting' => 'body_typography_font_weight',
71
  'choices'=>$font_weight,
72
- 'description'=>__('','startkit'),
73
- ))
74
  );
75
  // Body font size//
76
  $wp_customize->add_setting(
@@ -115,14 +115,14 @@ $wp_customize->add_section(
115
  'sanitize_callback' => 'sanitize_text_field',
116
  )
117
  );
118
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
119
  'para_font_weight', array(
120
  'label' => __('Font Style','startkit'),
121
  'section' => 'paragraph_typography',
122
  'setting' => 'para_font_weight',
123
  'choices'=>$font_weight,
124
- 'description'=>__('','startkit'),
125
- ))
126
  );
127
 
128
  // paragraph font size//
@@ -194,21 +194,21 @@ $wp_customize->add_section(
194
  'sanitize_callback' => 'sanitize_text_field',
195
  )
196
  );
197
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
198
  'h1_font_weight', array(
199
  'label' => __('Font Style','startkit'),
200
  'section' => 'H1_typography',
201
  'setting' => 'h1_font_weight',
202
  'choices'=>$font_weight,
203
- 'description'=>__('','startkit'),
204
- ))
205
  );
206
 
207
  // H1 font size//
208
  $wp_customize->add_setting(
209
  'h1_font_size' ,
210
  array(
211
- 'default' => '40',
212
  'capability' => 'edit_theme_options',
213
  )
214
  );
@@ -232,7 +232,7 @@ $wp_customize->add_section(
232
  $wp_customize->add_setting(
233
  'h1_line_height' ,
234
  array(
235
- 'default' => __( '50','startkit' ),
236
  'capability' => 'edit_theme_options',
237
  )
238
  );
@@ -256,19 +256,20 @@ $wp_customize->add_section(
256
  $wp_customize->add_setting(
257
  'h1_text_transform' ,
258
  array(
259
- 'default' => 'lowercase',
260
  'capability' => 'edit_theme_options',
261
  )
262
  );
263
 
264
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
265
  'h1_text_transform' ,
266
  array(
267
  'label' => __( 'Text Transform', 'startkit' ),
268
  'section' => 'H1_typography',
269
  'settings' => 'h1_text_transform',
270
  'choices' => $font_transform,
271
- ))
 
272
  );
273
 
274
  //H2 typography
@@ -291,21 +292,21 @@ $wp_customize->add_section(
291
  'sanitize_callback' => 'sanitize_text_field',
292
  )
293
  );
294
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
295
  'h2_font_weight', array(
296
  'label' => __('Font Style','startkit'),
297
  'section' => 'H2_typography',
298
  'setting' => 'h2_font_weight',
299
  'choices'=>$font_weight,
300
- 'description'=>__('','startkit'),
301
- ))
302
  );
303
 
304
  // H2 font size//
305
  $wp_customize->add_setting(
306
  'h2_font_size' ,
307
  array(
308
- 'default' => __( '36','startkit' ),
309
  'capability' => 'edit_theme_options',
310
  )
311
  );
@@ -353,19 +354,20 @@ $wp_customize->add_section(
353
  $wp_customize->add_setting(
354
  'h2_text_transform' ,
355
  array(
356
- 'default' => 'lowercase',
357
  'capability' => 'edit_theme_options',
358
  )
359
  );
360
 
361
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
362
  'h2_text_transform' ,
363
  array(
364
  'label' => __( 'Text Transform', 'startkit' ),
365
  'section' => 'H2_typography',
366
  'settings' => 'h2_text_transform',
367
  'choices' => $font_transform,
368
- ))
 
369
  );
370
 
371
 
@@ -389,21 +391,21 @@ $wp_customize->add_section(
389
  'sanitize_callback' => 'sanitize_text_field',
390
  )
391
  );
392
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
393
  'h3_font_weight', array(
394
  'label' => __('Font Style','startkit'),
395
  'section' => 'H3_typography',
396
  'setting' => 'h3_font_weight',
397
  'choices'=>$font_weight,
398
- 'description'=>__('','startkit'),
399
- ))
400
  );
401
 
402
  // H3 font size//
403
  $wp_customize->add_setting(
404
  'h3_font_size' ,
405
  array(
406
- 'default' => '24',
407
  'capability' => 'edit_theme_options',
408
  )
409
  );
@@ -451,19 +453,20 @@ $wp_customize->add_section(
451
  $wp_customize->add_setting(
452
  'h3_text_transform' ,
453
  array(
454
- 'default' => 'lowercase',
455
  'capability' => 'edit_theme_options',
456
  )
457
  );
458
 
459
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
460
  'h3_text_transform' ,
461
  array(
462
  'label' => __( 'Text Transform', 'startkit' ),
463
  'section' => 'H3_typography',
464
  'settings' => 'h3_text_transform',
465
  'choices' => $font_transform,
466
- ))
 
467
  );
468
 
469
  //H4 typography
@@ -486,21 +489,21 @@ $wp_customize->add_section(
486
  'sanitize_callback' => 'sanitize_text_field',
487
  )
488
  );
489
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
490
  'h4_font_weight', array(
491
  'label' => __('Font Style','startkit'),
492
  'section' => 'H4_typography',
493
  'setting' => 'h4_font_weight',
494
  'choices'=>$font_weight,
495
- 'description'=>__('','startkit'),
496
- ))
497
  );
498
 
499
  // H4 font size//
500
  $wp_customize->add_setting(
501
  'h4_font_size' ,
502
  array(
503
- 'default' => __( '18','startkit' ),
504
  'capability' => 'edit_theme_options',
505
  )
506
  );
@@ -548,19 +551,20 @@ $wp_customize->add_section(
548
  $wp_customize->add_setting(
549
  'h4_text_transform' ,
550
  array(
551
- 'default' => 'lowercase',
552
  'capability' => 'edit_theme_options',
553
  )
554
  );
555
 
556
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
557
  'h4_text_transform' ,
558
  array(
559
  'label' => __( 'Text Transform', 'startkit' ),
560
  'section' => 'H4_typography',
561
  'settings' => 'h4_text_transform',
562
  'choices' => $font_transform,
563
- ))
 
564
  );
565
 
566
 
@@ -584,21 +588,21 @@ $wp_customize->add_section(
584
  'sanitize_callback' => 'sanitize_text_field',
585
  )
586
  );
587
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
588
  'h5_font_weight', array(
589
  'label' => __('Font Style','startkit'),
590
  'section' => 'H5_typography',
591
  'setting' => 'h5_font_weight',
592
  'choices'=>$font_weight,
593
- 'description'=>__('','startkit'),
594
- ))
595
  );
596
 
597
  // H5 font size//
598
  $wp_customize->add_setting(
599
  'h5_font_size' ,
600
  array(
601
- 'default' => __( '16','startkit' ),
602
  'capability' => 'edit_theme_options',
603
  )
604
  );
@@ -646,19 +650,20 @@ $wp_customize->add_section(
646
  $wp_customize->add_setting(
647
  'h5_text_transform' ,
648
  array(
649
- 'default' => 'lowercase',
650
  'capability' => 'edit_theme_options',
651
  )
652
  );
653
 
654
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
655
  'h5_text_transform' ,
656
  array(
657
  'label' => __( 'Text Transform', 'startkit' ),
658
  'section' => 'H5_typography',
659
  'settings' => 'h5_text_transform',
660
  'choices' => $font_transform,
661
- ))
 
662
  );
663
 
664
 
@@ -682,14 +687,14 @@ $wp_customize->add_section(
682
  'sanitize_callback' => 'sanitize_text_field',
683
  )
684
  );
685
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
686
  'h6_font_weight', array(
687
  'label' => __('Font Style','startkit'),
688
  'section' => 'H6_typography',
689
  'setting' => 'h6_font_weight',
690
  'choices'=>$font_weight,
691
- 'description'=>__('','startkit'),
692
- ))
693
  );
694
 
695
  // H6 font size//
@@ -720,7 +725,7 @@ $wp_customize->add_section(
720
  $wp_customize->add_setting(
721
  'h6_line_height' ,
722
  array(
723
- 'default' => '26',
724
  'capability' => 'edit_theme_options',
725
  )
726
  );
@@ -744,19 +749,20 @@ $wp_customize->add_section(
744
  $wp_customize->add_setting(
745
  'h6_text_transform' ,
746
  array(
747
- 'default' => 'lowercase',
748
  'capability' => 'edit_theme_options',
749
  )
750
  );
751
 
752
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
753
  'h6_text_transform' ,
754
  array(
755
  'label' => __( 'Text Transform', 'startkit' ),
756
  'section' => 'H6_typography',
757
  'settings' => 'h6_text_transform',
758
  'choices' => $font_transform,
759
- ))
 
760
  );
761
 
762
 
@@ -778,15 +784,15 @@ $wp_customize->add_section(
778
  'sanitize_callback' => 'sanitize_text_field',
779
  )
780
  );
781
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
782
  'menu_font_weight',
783
  array(
784
  'label' => __('Font Style','startkit'),
785
  'section' => 'menu_typography',
786
  'setting' => 'menu_font_weight',
787
  'choices'=>$font_weight,
788
- 'description'=>__('','startkit'),
789
- ))
790
  );
791
 
792
  // menu font size//
@@ -824,14 +830,15 @@ $wp_customize->add_section(
824
  )
825
  );
826
 
827
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
828
  'menu_text_transform' ,
829
  array(
830
  'label' => __( 'Text Transform', 'startkit' ),
831
  'section' => 'menu_typography',
832
  'settings' => 'menu_text_transform',
833
  'choices' => $font_transform,
834
- ))
 
835
  );
836
 
837
  // Sections typography section
@@ -853,15 +860,15 @@ $wp_customize->add_section(
853
  'sanitize_callback' => 'sanitize_text_field',
854
  )
855
  );
856
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
857
  'section_tit_font_weight',
858
  array(
859
  'label' => __(' Title Font Style','startkit'),
860
  'section' => 'section_typography',
861
  'setting' => 'section_tit_font_weight',
862
  'choices'=>$font_weight,
863
- 'description'=>__('','startkit'),
864
- ))
865
  );
866
 
867
  // section title font size//
@@ -898,15 +905,15 @@ $wp_customize->add_section(
898
  'sanitize_callback' => 'sanitize_text_field',
899
  )
900
  );
901
- $wp_customize->add_control(new Cleverfox_Customizer_Select_Control($wp_customize,
902
  'section_des_font_weight',
903
  array(
904
  'label' => __('Description Font Style','startkit'),
905
  'section' => 'section_typography',
906
  'setting' => 'section_des_font_weight',
907
  'choices'=>$font_weight,
908
- 'description'=>__('','startkit'),
909
- ))
910
  );
911
 
912
  // section title font size//
63
  'sanitize_callback' => 'sanitize_text_field',
64
  )
65
  );
66
+ $wp_customize->add_control(
67
  'body_typography_font_weight', array(
68
  'label' => __('Font Style','spicepress'),
69
  'section' => 'Body_typography',
70
  'setting' => 'body_typography_font_weight',
71
  'choices'=>$font_weight,
72
+ 'type' => 'select',
73
+ )
74
  );
75
  // Body font size//
76
  $wp_customize->add_setting(
115
  'sanitize_callback' => 'sanitize_text_field',
116
  )
117
  );
118
+ $wp_customize->add_control(
119
  'para_font_weight', array(
120
  'label' => __('Font Style','startkit'),
121
  'section' => 'paragraph_typography',
122
  'setting' => 'para_font_weight',
123
  'choices'=>$font_weight,
124
+ 'type' => 'select',
125
+ )
126
  );
127
 
128
  // paragraph font size//
194
  'sanitize_callback' => 'sanitize_text_field',
195
  )
196
  );
197
+ $wp_customize->add_control(
198
  'h1_font_weight', array(
199
  'label' => __('Font Style','startkit'),
200
  'section' => 'H1_typography',
201
  'setting' => 'h1_font_weight',
202
  'choices'=>$font_weight,
203
+ 'type' => 'select',
204
+ )
205
  );
206
 
207
  // H1 font size//
208
  $wp_customize->add_setting(
209
  'h1_font_size' ,
210
  array(
211
+ 'default' => '36',
212
  'capability' => 'edit_theme_options',
213
  )
214
  );
232
  $wp_customize->add_setting(
233
  'h1_line_height' ,
234
  array(
235
+ 'default' => __( '46','startkit' ),
236
  'capability' => 'edit_theme_options',
237
  )
238
  );
256
  $wp_customize->add_setting(
257
  'h1_text_transform' ,
258
  array(
259
+ 'default' => 'capitalize',
260
  'capability' => 'edit_theme_options',
261
  )
262
  );
263
 
264
+ $wp_customize->add_control(
265
  'h1_text_transform' ,
266
  array(
267
  'label' => __( 'Text Transform', 'startkit' ),
268
  'section' => 'H1_typography',
269
  'settings' => 'h1_text_transform',
270
  'choices' => $font_transform,
271
+ 'type' => 'select',
272
+ )
273
  );
274
 
275
  //H2 typography
292
  'sanitize_callback' => 'sanitize_text_field',
293
  )
294
  );
295
+ $wp_customize->add_control(
296
  'h2_font_weight', array(
297
  'label' => __('Font Style','startkit'),
298
  'section' => 'H2_typography',
299
  'setting' => 'h2_font_weight',
300
  'choices'=>$font_weight,
301
+ 'type' => 'select',
302
+ )
303
  );
304
 
305
  // H2 font size//
306
  $wp_customize->add_setting(
307
  'h2_font_size' ,
308
  array(
309
+ 'default' => __( '32','startkit' ),
310
  'capability' => 'edit_theme_options',
311
  )
312
  );
354
  $wp_customize->add_setting(
355
  'h2_text_transform' ,
356
  array(
357
+ 'default' => 'capitalize',
358
  'capability' => 'edit_theme_options',
359
  )
360
  );
361
 
362
+ $wp_customize->add_control(
363
  'h2_text_transform' ,
364
  array(
365
  'label' => __( 'Text Transform', 'startkit' ),
366
  'section' => 'H2_typography',
367
  'settings' => 'h2_text_transform',
368
  'choices' => $font_transform,
369
+ 'type' => 'select',
370
+ )
371
  );
372
 
373
 
391
  'sanitize_callback' => 'sanitize_text_field',
392
  )
393
  );
394
+ $wp_customize->add_control(
395
  'h3_font_weight', array(
396
  'label' => __('Font Style','startkit'),
397
  'section' => 'H3_typography',
398
  'setting' => 'h3_font_weight',
399
  'choices'=>$font_weight,
400
+ 'type' => 'select',
401
+ )
402
  );
403
 
404
  // H3 font size//
405
  $wp_customize->add_setting(
406
  'h3_font_size' ,
407
  array(
408
+ 'default' => '28',
409
  'capability' => 'edit_theme_options',
410
  )
411
  );
453
  $wp_customize->add_setting(
454
  'h3_text_transform' ,
455
  array(
456
+ 'default' => 'capitalize',
457
  'capability' => 'edit_theme_options',
458
  )
459
  );
460
 
461
+ $wp_customize->add_control(
462
  'h3_text_transform' ,
463
  array(
464
  'label' => __( 'Text Transform', 'startkit' ),
465
  'section' => 'H3_typography',
466
  'settings' => 'h3_text_transform',
467
  'choices' => $font_transform,
468
+ 'type' => 'select',
469
+ )
470
  );
471
 
472
  //H4 typography
489
  'sanitize_callback' => 'sanitize_text_field',
490
  )
491
  );
492
+ $wp_customize->add_control(
493
  'h4_font_weight', array(
494
  'label' => __('Font Style','startkit'),
495
  'section' => 'H4_typography',
496
  'setting' => 'h4_font_weight',
497
  'choices'=>$font_weight,
498
+ 'type' => 'select',
499
+ )
500
  );
501
 
502
  // H4 font size//
503
  $wp_customize->add_setting(
504
  'h4_font_size' ,
505
  array(
506
+ 'default' => __( '24','startkit' ),
507
  'capability' => 'edit_theme_options',
508
  )
509
  );
551
  $wp_customize->add_setting(
552
  'h4_text_transform' ,
553
  array(
554
+ 'default' => 'capitalize',
555
  'capability' => 'edit_theme_options',
556
  )
557
  );
558
 
559
+ $wp_customize->add_control(
560
  'h4_text_transform' ,
561
  array(
562
  'label' => __( 'Text Transform', 'startkit' ),
563
  'section' => 'H4_typography',
564
  'settings' => 'h4_text_transform',
565
  'choices' => $font_transform,
566
+ 'type' => 'select',
567
+ )
568
  );
569
 
570
 
588
  'sanitize_callback' => 'sanitize_text_field',
589
  )
590
  );
591
+ $wp_customize->add_control(
592
  'h5_font_weight', array(
593
  'label' => __('Font Style','startkit'),
594
  'section' => 'H5_typography',
595
  'setting' => 'h5_font_weight',
596
  'choices'=>$font_weight,
597
+ 'type' => 'select',
598
+ )
599
  );
600
 
601
  // H5 font size//
602
  $wp_customize->add_setting(
603
  'h5_font_size' ,
604
  array(
605
+ 'default' => __( '20','startkit' ),
606
  'capability' => 'edit_theme_options',
607
  )
608
  );
650
  $wp_customize->add_setting(
651
  'h5_text_transform' ,
652
  array(
653
+ 'default' => 'capitalize',
654
  'capability' => 'edit_theme_options',
655
  )
656
  );
657
 
658
+ $wp_customize->add_control(
659
  'h5_text_transform' ,
660
  array(
661
  'label' => __( 'Text Transform', 'startkit' ),
662
  'section' => 'H5_typography',
663
  'settings' => 'h5_text_transform',
664
  'choices' => $font_transform,
665
+ 'type' => 'select',
666
+ )
667
  );
668
 
669
 
687
  'sanitize_callback' => 'sanitize_text_field',
688
  )
689
  );
690
+ $wp_customize->add_control(
691
  'h6_font_weight', array(
692
  'label' => __('Font Style','startkit'),
693
  'section' => 'H6_typography',
694
  'setting' => 'h6_font_weight',
695
  'choices'=>$font_weight,
696
+ 'type' => 'select',
697
+ )
698
  );
699
 
700
  // H6 font size//
725
  $wp_customize->add_setting(
726
  'h6_line_height' ,
727
  array(
728
+ 'default' => '24',
729
  'capability' => 'edit_theme_options',
730
  )
731
  );
749
  $wp_customize->add_setting(
750
  'h6_text_transform' ,
751
  array(
752
+ 'default' => 'capitalize',
753
  'capability' => 'edit_theme_options',
754
  )
755
  );
756
 
757
+ $wp_customize->add_control(
758
  'h6_text_transform' ,
759
  array(
760
  'label' => __( 'Text Transform', 'startkit' ),
761
  'section' => 'H6_typography',
762
  'settings' => 'h6_text_transform',
763
  'choices' => $font_transform,
764
+ 'type' => 'select',
765
+ )
766
  );
767
 
768
 
784
  'sanitize_callback' => 'sanitize_text_field',
785
  )
786
  );
787
+ $wp_customize->add_control(
788
  'menu_font_weight',
789
  array(
790
  'label' => __('Font Style','startkit'),
791
  'section' => 'menu_typography',
792
  'setting' => 'menu_font_weight',
793
  'choices'=>$font_weight,
794
+ 'type' => 'select',
795
+ )
796
  );
797
 
798
  // menu font size//
830
  )
831
  );
832
 
833
+ $wp_customize->add_control(
834
  'menu_text_transform' ,
835
  array(
836
  'label' => __( 'Text Transform', 'startkit' ),
837
  'section' => 'menu_typography',
838
  'settings' => 'menu_text_transform',
839
  'choices' => $font_transform,
840
+ 'type' => 'select',
841
+ )
842
  );
843
 
844
  // Sections typography section
860
  'sanitize_callback' => 'sanitize_text_field',
861
  )
862
  );
863
+ $wp_customize->add_control(
864
  'section_tit_font_weight',
865
  array(
866
  'label' => __(' Title Font Style','startkit'),
867
  'section' => 'section_typography',
868
  'setting' => 'section_tit_font_weight',
869
  'choices'=>$font_weight,
870
+ 'type' => 'select',
871
+ )
872
  );
873
 
874
  // section title font size//
905
  'sanitize_callback' => 'sanitize_text_field',
906
  )
907
  );
908
+ $wp_customize->add_control(
909
  'section_des_font_weight',
910
  array(
911
  'label' => __('Description Font Style','startkit'),
912
  'section' => 'section_typography',
913
  'setting' => 'section_des_font_weight',
914
  'choices'=>$font_weight,
915
+ 'type' => 'select',
916
+ )
917
  );
918
 
919
  // section title font size//
inc/startkit/typography_style.php CHANGED
@@ -11,34 +11,34 @@ function startkit_own_theme_typography() {
11
  $paragraph_line_height = get_theme_mod('paragraph_line_height','26');
12
 
13
  $h1_font_weight = get_theme_mod('h1_font_weight','normal');
14
- $h1_font_size = get_theme_mod('h1_font_size','40');
15
- $h1_line_height = get_theme_mod('h1_line_height','50');
16
- $h1_text_transform = get_theme_mod('h1_text_transform','lowercase');
17
 
18
  $h2_font_weight = get_theme_mod('h2_font_weight','normal');
19
- $h2_font_size = get_theme_mod('h2_font_size','36');
20
  $h2_line_height = get_theme_mod('h2_line_height','46');
21
- $h2_text_transform = get_theme_mod('h2_text_transform','lowercase');
22
 
23
  $h3_font_weight = get_theme_mod('h3_font_weight','normal');
24
- $h3_font_size = get_theme_mod('h3_font_size','24');
25
  $h3_line_height = get_theme_mod('h3_line_height','34');
26
- $h3_text_transform = get_theme_mod('h3_text_transform','lowercase');
27
 
28
  $h4_font_weight = get_theme_mod('h4_font_weight','normal');
29
- $h4_font_size = get_theme_mod('h4_font_size','18');
30
  $h4_line_height = get_theme_mod('h4_line_height','28');
31
- $h4_text_transform = get_theme_mod('h4_text_transform','lowercase');
32
 
33
  $h5_font_weight = get_theme_mod('h5_font_weight','normal');
34
- $h5_font_size = get_theme_mod('h5_font_size','16');
35
  $h5_line_height = get_theme_mod('h5_line_height','15');
36
- $h5_text_transform = get_theme_mod('h5_text_transform','lowercase');
37
 
38
  $h6_font_weight = get_theme_mod('h6_font_weight','normal');
39
  $h6_font_size = get_theme_mod('h6_font_size','16');
40
- $h6_line_height = get_theme_mod('h6_line_height','26');
41
- $h6_text_transform = get_theme_mod('h6_text_transform','lowercase');
42
 
43
  $menu_font_weight = get_theme_mod('menu_font_weight','normal');
44
  $menu_font_size = get_theme_mod('menu_font_size','15');
@@ -94,7 +94,7 @@ p {
94
  margin: 0;
95
  }
96
 
97
- .footer-sidebar .widget-title, h2 {
98
  font-family: 'Poppins', sans-serif;
99
  font-size: <?php echo $h2_font_size; ?>px;
100
  line-height: <?php echo $h2_line_height; ?>px;
@@ -112,33 +112,33 @@ h6 {
112
  }
113
 
114
  h3 {
115
- font-size: <?php echo $h3_font_size; ?>px;
116
- line-height: <?php echo $h3_line_height; ?>px;
117
- text-transform: <?php echo $h3_text_transform; ?>;
118
- font-style: <?php echo $h3_font_weight; ?>;
119
  }
120
 
121
  h4 {
122
- font-size: <?php echo $h4_font_size; ?>px;
123
- line-height: <?php echo $h4_line_height; ?>px;
124
- text-transform:<?php echo $h4_text_transform; ?>;
125
- font-style: <?php echo $h4_font_weight; ?>;
126
  }
127
 
128
  h5 {
129
- font-size: <?php echo $h5_font_size; ?>px;
130
- line-height: <?php echo $h5_line_height; ?>px;
131
- text-transform: <?php echo $h5_text_transform; ?>;
132
- font-style: <?php echo $h5_font_weight; ?>;
133
  }
134
 
135
  h6 {
136
- font-size: <?php echo $h6_font_size; ?>px;
137
- line-height: <?php echo $h6_line_height; ?>px;
138
- text-transform: <?php echo $h6_text_transform; ?>;
139
- font-style: <?php echo $h6_font_weight; ?>;
140
  }
141
- p {
142
  font-family: 'Roboto', sans-serif;
143
  font-size: <?php echo $paragraph_font_size; ?>px!important;
144
  line-height: <?php echo $paragraph_line_height; ?>px!important;
@@ -146,21 +146,7 @@ p {
146
  font-weight: 400;
147
  }
148
 
149
- p.small,
150
- {
151
- font-family: 'Roboto', sans-serif;
152
- font-size: <?php echo $paragraph_font_size; ?>px!important;
153
- line-height: <?php echo $paragraph_line_height; ?>px!important;
154
- font-style: <?php echo $para_font_weight; ?>!important;
155
- font-weight: 400;
156
- }
157
 
158
- .footer-sidebar .widget-title {
159
- font-size: 16px;
160
- font-weight: 500;
161
- padding: 30px 16px 10px;
162
- color: #ffffff;
163
- }
164
  .section-header h2 {
165
  font-family: 'Roboto', sans-serif;
166
  font-style: <?php echo $section_tit_font_weight; ?>!important;
@@ -174,13 +160,6 @@ p.small,
174
  font-size:<?php echo $section_desc_font_size; ?>px!important;
175
  line-height: normal !important;
176
  }
177
- .footer-sidebar .widget-title,.sidebar .widget-title {
178
- font-size: <?php echo $h2_font_size; ?>px;
179
- line-height: <?php echo $h3_line_height; ?>px;
180
- text-transform: <?php echo $h3_text_transform; ?>;
181
- font-style: <?php echo $h3_font_weight; ?>;
182
- font-weight: 500;
183
- }
184
 
185
  </style>
186
 
11
  $paragraph_line_height = get_theme_mod('paragraph_line_height','26');
12
 
13
  $h1_font_weight = get_theme_mod('h1_font_weight','normal');
14
+ $h1_font_size = get_theme_mod('h1_font_size','36');
15
+ $h1_line_height = get_theme_mod('h1_line_height','46');
16
+ $h1_text_transform = get_theme_mod('h1_text_transform','capitalize');
17
 
18
  $h2_font_weight = get_theme_mod('h2_font_weight','normal');
19
+ $h2_font_size = get_theme_mod('h2_font_size','32');
20
  $h2_line_height = get_theme_mod('h2_line_height','46');
21
+ $h2_text_transform = get_theme_mod('h2_text_transform','capitalize');
22
 
23
  $h3_font_weight = get_theme_mod('h3_font_weight','normal');
24
+ $h3_font_size = get_theme_mod('h3_font_size','28');
25
  $h3_line_height = get_theme_mod('h3_line_height','34');
26
+ $h3_text_transform = get_theme_mod('h3_text_transform','capitalize');
27
 
28
  $h4_font_weight = get_theme_mod('h4_font_weight','normal');
29
+ $h4_font_size = get_theme_mod('h4_font_size','24');
30
  $h4_line_height = get_theme_mod('h4_line_height','28');
31
+ $h4_text_transform = get_theme_mod('h4_text_transform','capitalize');
32
 
33
  $h5_font_weight = get_theme_mod('h5_font_weight','normal');
34
+ $h5_font_size = get_theme_mod('h5_font_size','20');
35
  $h5_line_height = get_theme_mod('h5_line_height','15');
36
+ $h5_text_transform = get_theme_mod('h5_text_transform','capitalize');
37
 
38
  $h6_font_weight = get_theme_mod('h6_font_weight','normal');
39
  $h6_font_size = get_theme_mod('h6_font_size','16');
40
+ $h6_line_height = get_theme_mod('h6_line_height','24');
41
+ $h6_text_transform = get_theme_mod('h6_text_transform','capitalize');
42
 
43
  $menu_font_weight = get_theme_mod('menu_font_weight','normal');
44
  $menu_font_size = get_theme_mod('menu_font_size','15');
94
  margin: 0;
95
  }
96
 
97
+ h2 {
98
  font-family: 'Poppins', sans-serif;
99
  font-size: <?php echo $h2_font_size; ?>px;
100
  line-height: <?php echo $h2_line_height; ?>px;
112
  }
113
 
114
  h3 {
115
+ font-size: <?php echo $h3_font_size; ?>px!important;
116
+ line-height: <?php echo $h3_line_height; ?>px!important;
117
+ text-transform: <?php echo $h3_text_transform; ?>!important;
118
+ font-style: <?php echo $h3_font_weight; ?>!important;
119
  }
120
 
121
  h4 {
122
+ font-size: <?php echo $h4_font_size; ?>px!important;
123
+ line-height: <?php echo $h4_line_height; ?>px!important;
124
+ text-transform:<?php echo $h4_text_transform; ?>!important;
125
+ font-style: <?php echo $h4_font_weight; ?>!important;
126
  }
127
 
128
  h5 {
129
+ font-size: <?php echo $h5_font_size; ?>px!important;
130
+ line-height: <?php echo $h5_line_height; ?>px!important;
131
+ text-transform: <?php echo $h5_text_transform; ?>!important;
132
+ font-style: <?php echo $h5_font_weight; ?>!important;
133
  }
134
 
135
  h6 {
136
+ font-size: <?php echo $h6_font_size; ?>px!important;
137
+ line-height: <?php echo $h6_line_height; ?>px!important;
138
+ text-transform: <?php echo $h6_text_transform; ?>!important;
139
+ font-style: <?php echo $h6_font_weight; ?>!important;
140
  }
141
+ p, p.small {
142
  font-family: 'Roboto', sans-serif;
143
  font-size: <?php echo $paragraph_font_size; ?>px!important;
144
  line-height: <?php echo $paragraph_line_height; ?>px!important;
146
  font-weight: 400;
147
  }
148
 
 
 
 
 
 
 
 
 
149
 
 
 
 
 
 
 
150
  .section-header h2 {
151
  font-family: 'Roboto', sans-serif;
152
  font-style: <?php echo $section_tit_font_weight; ?>!important;
160
  font-size:<?php echo $section_desc_font_size; ?>px!important;
161
  line-height: normal !important;
162
  }
 
 
 
 
 
 
 
163
 
164
  </style>
165
 
readme.txt CHANGED
@@ -38,6 +38,10 @@ Clever Fox WordPress plugin is licensed under the GPL3 (https://www.gnu.org/lice
38
 
39
 
40
  == Changelog ==
 
 
 
 
41
  = 1.1.30 =
42
  * Hantus Issues Resolved
43
 
38
 
39
 
40
  == Changelog ==
41
+
42
+ = 1.1.31 =
43
+ * Typography Feature Improved
44
+
45
  = 1.1.30 =
46
  * Hantus Issues Resolved
47