Removing aller overwrite and pull underscores gallery styles for it instead into css file
This commit is contained in:
parent
78ea9215b1
commit
e5e91cead6
|
@ -7563,3 +7563,31 @@ button,
|
||||||
border-radius: 30px; }
|
border-radius: 30px; }
|
||||||
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
|
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
|
||||||
background: #869791; }
|
background: #869791; }
|
||||||
|
|
||||||
|
.gallery {
|
||||||
|
margin-bottom: 1.5em; }
|
||||||
|
|
||||||
|
.gallery-item {
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: top;
|
||||||
|
width: 100%; }
|
||||||
|
.gallery-columns-2 .gallery-item {
|
||||||
|
max-width: 50%; }
|
||||||
|
.gallery-columns-3 .gallery-item {
|
||||||
|
max-width: 33.33%; }
|
||||||
|
.gallery-columns-4 .gallery-item {
|
||||||
|
max-width: 25%; }
|
||||||
|
.gallery-columns-5 .gallery-item {
|
||||||
|
max-width: 20%; }
|
||||||
|
.gallery-columns-6 .gallery-item {
|
||||||
|
max-width: 16.66%; }
|
||||||
|
.gallery-columns-7 .gallery-item {
|
||||||
|
max-width: 14.28%; }
|
||||||
|
.gallery-columns-8 .gallery-item {
|
||||||
|
max-width: 12.5%; }
|
||||||
|
.gallery-columns-9 .gallery-item {
|
||||||
|
max-width: 11.11%; }
|
||||||
|
|
||||||
|
.gallery-caption {
|
||||||
|
display: block; }
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -64,8 +64,8 @@ require get_template_directory() . '/inc/bootstrap-wp-navwalker.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load custom WordPress gallery.
|
* Load custom WordPress gallery.
|
||||||
*/
|
|
||||||
require get_template_directory() . '/inc/bootstrap-wp-gallery.php';
|
require get_template_directory() . '/inc/bootstrap-wp-gallery.php';
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load WooCommerce functions.
|
* Load WooCommerce functions.
|
||||||
|
|
|
@ -203,8 +203,12 @@ gulp.task('copy-assets', function() {
|
||||||
gulp.src(basePaths.node + 'jquery/dist/*.js')
|
gulp.src(basePaths.node + 'jquery/dist/*.js')
|
||||||
.pipe(gulp.dest(basePaths.dev + '/js'));
|
.pipe(gulp.dest(basePaths.dev + '/js'));
|
||||||
|
|
||||||
|
// _s SCSS files
|
||||||
|
gulp.src(basePaths.node + 'undescores-for-npm/sass/**/*.scss')
|
||||||
|
.pipe(gulp.dest(basePaths.dev + '/sass/underscores'));
|
||||||
|
|
||||||
// _s JS files
|
// _s JS files
|
||||||
gulp.src(basePaths.node + 'underscores-for-npm/js/*.js')
|
gulp.src(basePaths.node + 'undescores-for-npm/js/*.js')
|
||||||
.pipe(gulp.dest(basePaths.dev + '/js'));
|
.pipe(gulp.dest(basePaths.dev + '/js'));
|
||||||
|
|
||||||
// Copy Tether JS files
|
// Copy Tether JS files
|
||||||
|
|
34
js/theme.js
34
js/theme.js
|
@ -5243,3 +5243,37 @@ var Popover = function ($) {
|
||||||
}(jQuery);
|
}(jQuery);
|
||||||
|
|
||||||
}();
|
}();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* File skip-link-focus-fix.js.
|
||||||
|
*
|
||||||
|
* Helps with accessibility for keyboard only users.
|
||||||
|
*
|
||||||
|
* Learn more: https://git.io/vWdr2
|
||||||
|
*/
|
||||||
|
( function() {
|
||||||
|
var isWebkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
|
||||||
|
isOpera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1,
|
||||||
|
isIe = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1;
|
||||||
|
|
||||||
|
if ( ( isWebkit || isOpera || isIe ) && document.getElementById && window.addEventListener ) {
|
||||||
|
window.addEventListener( 'hashchange', function() {
|
||||||
|
var id = location.hash.substring( 1 ),
|
||||||
|
element;
|
||||||
|
|
||||||
|
if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
element = document.getElementById( id );
|
||||||
|
|
||||||
|
if ( element ) {
|
||||||
|
if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) {
|
||||||
|
element.tabIndex = -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
element.focus();
|
||||||
|
}
|
||||||
|
}, false );
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
@import "../../src/sass/underscores/media/galleries";
|
|
@ -5,6 +5,7 @@
|
||||||
//Optional files - If you dont use the corresponding scripts/fonts comment em out
|
//Optional files - If you dont use the corresponding scripts/fonts comment em out
|
||||||
@import "assets/font-awesome"; // <------- Font Awesome Icon font
|
@import "assets/font-awesome"; // <------- Font Awesome Icon font
|
||||||
@import "assets/owl-carousel2"; // <------- Owl Carousel2 slider styles
|
@import "assets/owl-carousel2"; // <------- Owl Carousel2 slider styles
|
||||||
|
@import "assets/underscores"; // <------- Underscores media styles
|
||||||
|
|
||||||
|
|
||||||
// Any additional imported files //
|
// Any additional imported files //
|
||||||
|
|
Reference in New Issue