single product page max height

This commit is contained in:
nomadics9 2025-04-03 15:51:45 +03:00
parent f687d948aa
commit 12e91344db
2 changed files with 7 additions and 7 deletions

View file

@ -174,13 +174,13 @@ a.ast-loop-product__link h2 {
@media (max-width: 768px) { @media (max-width: 768px) {
.single-product .elementor-widget-wrap.elementor-element-populated.e-swiper-container { .single-product .elementor-widget-wrap.elementor-element-populated.e-swiper-container {
max-height: 560px; max-height: 630px;
} }
} }
/*/* single product image */*/ /*/* single product image */*/
/*@media (max-width: 767px) {*/ @media (max-width: 767px) {
/* .elementor-473 .elementor-element.elementor-element-4eab943>.elementor-element-populated {*/ .elementor-473 .elementor-element.elementor-element-4eab943>.elementor-element-populated {
/* max-height: 630px*/ max-height: 630px
/* }*/ }
/* End of AlaskarDev */ /* End of AlaskarDev */

View file

@ -11,7 +11,7 @@
/** /**
* Define Constants * Define Constants
*/ */
define( 'CHILD_THEME_OONT_THEME_VERSION', '1.4.9' ); define( 'CHILD_THEME_OONT_THEME_VERSION', '1.5.0' );
define( 'SOFTOBA_RETURN_POST_TYPE', 'return_request' ); define( 'SOFTOBA_RETURN_POST_TYPE', 'return_request' );
define( 'SOFTOBA_EXCHANGE_POST_TYPE', 'exchange_request' ); define( 'SOFTOBA_EXCHANGE_POST_TYPE', 'exchange_request' );
define('SOFTOBA_THEME_DIR', get_stylesheet_directory()); define('SOFTOBA_THEME_DIR', get_stylesheet_directory());
@ -254,7 +254,7 @@ add_shortcode('product_image_slider', 'product_image_slider_shortcode');
function enqueue_slider_assets() { function enqueue_slider_assets() {
wp_enqueue_style('product-slider-style', get_stylesheet_directory_uri() . '/assets/css/product-slider.css',[], CHILD_THEME_OONT_THEME_VERSION, 'all'); wp_enqueue_style('product-slider-style', get_stylesheet_directory_uri() . '/assets/css/product-slider.css');
wp_enqueue_script('product-slider-script', get_stylesheet_directory_uri() . '/assets/js/product-slider.js', ['jquery'], null, true); wp_enqueue_script('product-slider-script', get_stylesheet_directory_uri() . '/assets/js/product-slider.js', ['jquery'], null, true);
} }
add_action('wp_enqueue_scripts', 'enqueue_slider_assets'); add_action('wp_enqueue_scripts', 'enqueue_slider_assets');