Skip to content

Commit cad0ab2

Browse files
committed
Merge branch 'release/1.20.23'
2 parents 783ddf5 + dc2b072 commit cad0ab2

7 files changed

Lines changed: 40 additions & 36 deletions

File tree

build-config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ module.exports = {
4747
'js/**/*.js',
4848
'inc/sliders/js/**/*.js',
4949
'inc/customizer/js/**/*.js',
50-
'inc/metaslider/js/**/*.js',
5150
'inc/mobilenav/js/**/*.js',
5251
'inc/settings/js/**/*.js',
5352
'inc/settings/chosen/*.js',

js/jquery.theme-main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jQuery ( function( $ ) {
88
$( 'body.no-js' ).removeClass( 'no-js' );
99

1010
// Initialize FlexSlider.
11-
$( '.entry-content .flexslider:not(.metaslider .flexslider), #metaslider-demo.flexslider, .gallery-format-slider' ).flexslider( {
11+
$( '.entry-content .flexslider:not(.metaslider .flexslider), #metaslider-demo.flexslider, .gallery-format-slider' ).flexslider( {
1212
namespace: "flex-vantage-",
1313
} );
1414

@@ -262,7 +262,7 @@ jQuery ( function( $ ) {
262262
} ).trigger( 'resize' );
263263

264264
// The sticky menu.
265-
if ( ( $( 'nav.site-navigation.primary' ).hasClass( 'use-sticky-menu' ) && !isMobileDevice ) ||
265+
if ( ( $( 'nav.site-navigation.primary' ).hasClass( 'use-vantage-sticky-menu' ) && !isMobileDevice ) ||
266266
( ( isMobileDevice || isCustomizer ) && isMobileNav ) ) {
267267

268268
var $$ = $( 'nav.site-navigation.primary' );
@@ -282,16 +282,16 @@ jQuery ( function( $ ) {
282282
var navTop = parseInt( $initTop - $( window ).scrollTop() ); // Force truncation of float value.
283283
if ( navTop < threshold ) {
284284
$$.addClass( 'sticky' );
285-
$body.addClass( 'sticky-menu' );
285+
$body.addClass( 'vantage-sticky-menu sticky-menu' );
286286
$( '#masthead' ).css( 'padding-bottom', $$.innerHeight() + 'px' );
287287

288288
if ( isBoxedMega ) {
289289
$$.width( boxedMegaWidth );
290290
}
291-
} else if ( $body.hasClass( 'sticky-menu' ) ) {
291+
} else if ( $body.hasClass( 'vantage-sticky-menu' ) ) {
292292
$( '#masthead' ).css( 'padding-bottom', 0 );
293293
$$.removeClass( 'sticky' );
294-
$body.removeClass( 'sticky-menu' );
294+
$body.removeClass( 'vantage-sticky-menu sticky-menu' );
295295

296296
if ( isBoxedMega ) {
297297
$$.width( 'auto' );

less/page-settings.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656

5757
@media ( min-width: 1100px ) {
58-
.main-navigation.use-sticky-menu.sticky {
58+
.main-navigation.use-vantage-sticky-menu.sticky {
5959
left: 0;
6060
margin: 0 auto;
6161
max-width: calc(100% - 40px);

parts/menu.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
$nav_classes[] = 'primary';
1313

1414
if ( siteorigin_setting( 'navigation_use_sticky_menu' ) ) {
15+
$nav_classes[] = 'use-vantage-sticky-menu';
1516
$nav_classes[] = 'use-sticky-menu';
1617
}
1718

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: siteorigin
44

55
Tags: two-columns, left-sidebar, right-sidebar, grid-layout, custom-background, custom-colors, custom-menu, custom-logo, featured-images, footer-widgets, full-width-template, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce
66

7-
Tested up to: 6.5
7+
Tested up to: 6.6
88
Requires at least: 4.7
99
Requires PHP: 5.6.20
1010
License: GPLv2 or later
@@ -106,6 +106,10 @@ This theme makes use of the SiteOrigin Settings Framework contained in the /inc
106106

107107
== Changelog ==
108108

109+
= 1.20.23 - 04 August 2024 =
110+
* Updated `Tested up to` tag.
111+
* Prefixed `sticky-menu` class to prevent a possible core Editor JavaScript conflict.
112+
109113
= 1.20.22 - 15 June 2024 =
110114
* Updated `Tested up to` tag.
111115
* Resolved a potential sticky header offset error.

style.css

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -708,11 +708,11 @@ body {
708708
margin: -10px 0 0;
709709
padding: 0 0 15px;
710710
}
711-
.sticky-menu #masthead.masthead-logo-in-menu img.alt-logo,
711+
.vantage-sticky-menu #masthead.masthead-logo-in-menu img.alt-logo,
712712
#masthead.masthead-logo-in-menu img.alt-logo-scroll {
713713
display: none;
714714
}
715-
.sticky-menu #masthead.masthead-logo-in-menu img.alt-logo-scroll {
715+
.vantage-sticky-menu #masthead.masthead-logo-in-menu img.alt-logo-scroll {
716716
display: block;
717717
}
718718
.layout-boxed #masthead.masthead-logo-in-menu .logo,
@@ -1052,41 +1052,41 @@ body.responsive.layout-full #page-wrapper .full-container {
10521052
font-weight: bold;
10531053
}
10541054
/* For when the menu becomes a sticky menu */
1055-
body.sticky-menu.layout-full .site-navigation {
1055+
body.vantage-sticky-menu.layout-full .site-navigation {
10561056
right: 0;
10571057
left: 0;
10581058
margin-right: 0;
10591059
margin-left: 0;
10601060
}
1061-
body.sticky-menu.layout-boxed .main-navigation {
1061+
body.vantage-sticky-menu.layout-boxed .main-navigation {
10621062
width: 100%;
10631063
max-width: 1080px;
10641064
}
1065-
body.sticky-menu.mega-menu-primary.layout-boxed .site-navigation {
1065+
body.vantage-sticky-menu.mega-menu-primary.layout-boxed .site-navigation {
10661066
max-width: 1100px;
10671067
}
1068-
body.sticky-menu.mega-menu-primary.layout-full .site-navigation {
1068+
body.vantage-sticky-menu.mega-menu-primary.layout-full .site-navigation {
10691069
padding-left: 35px;
10701070
padding-right: 35px;
10711071
}
1072-
body.sticky-menu.mega-menu-primary .site-navigation {
1072+
body.vantage-sticky-menu.mega-menu-primary .site-navigation {
10731073
z-index: 9999;
10741074
}
10751075
@media (min-width: 783px) {
1076-
body.sticky-menu.admin-bar .site-navigation.use-sticky-menu {
1076+
body.vantage-sticky-menu.admin-bar .site-navigation.use-vantage-sticky-menu {
10771077
top: 32px;
10781078
}
10791079
}
10801080
@media (max-width: 782px) and (min-width: 601px) {
1081-
body.sticky-menu.admin-bar .site-navigation.use-sticky-menu {
1081+
body.vantage-sticky-menu.admin-bar .site-navigation.use-vantage-sticky-menu {
10821082
top: 42px;
10831083
}
10841084
}
1085-
body.sticky-menu .site-navigation.sticky {
1085+
body.vantage-sticky-menu .site-navigation.sticky {
10861086
position: fixed;
10871087
top: 0;
10881088
}
1089-
body.admin-bar:not(.sticky-menu) .site-navigation.use-sticky-menu {
1089+
body.admin-bar:not(.vantage-sticky-menu) .site-navigation.use-vantage-sticky-menu {
10901090
top: 0;
10911091
}
10921092
.main-navigation.sticky:after {
@@ -2457,8 +2457,8 @@ body.layout-full {
24572457
}
24582458
}
24592459
@media (min-width: 1100px) {
2460-
:not(.not-default-page).page-layout-full-width-sidebar.layout-boxed .main-navigation.use-sticky-menu.sticky,
2461-
:not(.not-default-page).page-layout-full-width.layout-boxed .main-navigation.use-sticky-menu.sticky {
2460+
:not(.not-default-page).page-layout-full-width-sidebar.layout-boxed .main-navigation.use-vantage-sticky-menu.sticky,
2461+
:not(.not-default-page).page-layout-full-width.layout-boxed .main-navigation.use-vantage-sticky-menu.sticky {
24622462
left: 0;
24632463
margin: 0 auto;
24642464
max-width: calc(100% - 40px);

style.less

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Author URI: https://siteorigin.com/
55
Theme URI: https://siteorigin.com/theme/vantage/
66
Description: Vantage is a flexible multipurpose theme. Its strength lies in its tight integration with some powerful plugins like Page Builder for responsive page layouts, Smart Slider 3 for big beautiful sliders and WooCommerce to help you sell online. Vantage is fully responsive and retina ready. Use it to start a business site, portfolio or online store. We offer free support on our <a href="https://siteorigin.com/thread/">forum</a> (https://siteorigin.com/thread/).
77
Version: dev
8-
Tested up to: 6.5
8+
Tested up to: 6.6
99
Requires at least: 4.7
1010
Requires PHP: 5.6.20
1111
License: GNU General Public License v2 or later
@@ -239,7 +239,7 @@ textarea {
239239
border-radius: 3px;
240240
box-sizing: border-box;
241241
color: #666;
242-
font-weight: normal;
242+
font-weight: normal;
243243
line-height: normal;
244244
outline: none;
245245
padding: 9px 12px;
@@ -252,7 +252,7 @@ textarea {
252252
}
253253

254254
input[type="checkbox"] {
255-
margin-right: 2px;
255+
margin-right: 2px;
256256
}
257257

258258
select {
@@ -268,7 +268,7 @@ textarea {
268268

269269
/* Alignment */
270270

271-
.alignnone,
271+
.alignnone,
272272
.aligncenter {
273273
margin-bottom: 1.6em;
274274
}
@@ -412,7 +412,7 @@ body {
412412
position: relative;
413413
padding-top: 45px;
414414
padding-bottom: 45px;
415-
415+
416416
&:not(.masthead-sidebar) {
417417
gap: 25px;
418418
display: flex;
@@ -560,12 +560,12 @@ body {
560560
}
561561
}
562562

563-
.sticky-menu #masthead.masthead-logo-in-menu img.alt-logo,
563+
.vantage-sticky-menu #masthead.masthead-logo-in-menu img.alt-logo,
564564
#masthead.masthead-logo-in-menu img.alt-logo-scroll {
565565
display: none;
566566
}
567567

568-
.sticky-menu #masthead.masthead-logo-in-menu img.alt-logo-scroll {
568+
.vantage-sticky-menu #masthead.masthead-logo-in-menu img.alt-logo-scroll {
569569
display: block;
570570
}
571571

@@ -828,7 +828,7 @@ body.responsive {
828828

829829
/* =Menu
830830
----------------------------------------------- */
831-
831+
832832
.main-navigation {
833833
background: #343538;
834834
clear: both;
@@ -942,7 +942,7 @@ body.responsive {
942942
}
943943

944944
/* For when the menu becomes a sticky menu */
945-
body.sticky-menu {
945+
body.vantage-sticky-menu {
946946
&.layout-full .site-navigation {
947947
right: 0;
948948
left: 0;
@@ -970,7 +970,7 @@ body.sticky-menu {
970970
}
971971
}
972972

973-
&.admin-bar .site-navigation.use-sticky-menu {
973+
&.admin-bar .site-navigation.use-vantage-sticky-menu {
974974
@media (min-width: 783px) {
975975
top: 32px;
976976
}
@@ -986,7 +986,7 @@ body.sticky-menu {
986986
}
987987
}
988988

989-
body.admin-bar:not(.sticky-menu) .site-navigation.use-sticky-menu {
989+
body.admin-bar:not(.vantage-sticky-menu) .site-navigation.use-vantage-sticky-menu {
990990
top: 0;
991991
}
992992

@@ -2151,13 +2151,13 @@ article.page{
21512151
align-items: center;
21522152
clear: both;
21532153
display: flex;
2154-
2154+
21552155
input {
21562156
line-height: 1;
21572157
margin-right: 7px;
21582158
width: auto;
21592159
}
2160-
2160+
21612161
label {
21622162
display: inline-block;
21632163
font-weight: normal;
@@ -2225,15 +2225,15 @@ article.page{
22252225
#site-info {
22262226

22272227
span {
2228-
2228+
22292229
&:after {
22302230
content: "\002d";
22312231
display: inline-block;
22322232
padding: 0 5px;
22332233
}
22342234

22352235
&:last-of-type {
2236-
2236+
22372237
&:after {
22382238
content: none;
22392239
}

0 commit comments

Comments
 (0)