product slider img z-index

This commit is contained in:
nomadics9 2025-04-03 10:32:27 +03:00
parent 9d7d0a032c
commit c5299eb88c
3 changed files with 86 additions and 84 deletions

View file

@ -1,85 +1,3 @@
/*.product-slider-container {*/
/* position: relative;*/
/*}*/
/**/
/*.product-image-slider {*/
/* position: relative;*/
/* display: flex;*/
/* overflow: hidden;*/
/* max-width: 600px;*/
/* margin: auto;*/
/**/
/*}*/
/**/
/*.slider-item {*/
/* position: absolute;*/
/* opacity: 0;*/
/* transition: opacity 0.5s ease-in-out;*/
/* width: 100%;*/
/* height: auto !important; /* Ensure images fit the aspect ratio */*/
/*}*/
/**/
/*.slider-item.active {*/
/* opacity: 1;*/
/* position: relative;*/
/*}*/
/**/
/*.slider-item img {*/
/* width: 100%;*/
/* height: auto !important; /* Stretch to fill the container while maintaining aspect ratio */*/
/* object-fit: contain; /* Maintain image aspect ratio within the container */*/
/* display: block;*/
/*}*/
/**/
/*.slider-prev, .slider-next {*/
/* position: absolute;*/
/* top: 10%;*/
/* transform: translateY(-10%);*/
/* background: none;*/
/* color: #424242;*/
/* border: none;*/
/* background-color: transparent !important;*/
/* cursor: pointer;*/
/* font-size: 16px;*/
/* padding: 0;*/
/* z-index: 10;*/
/* font-weight: 600;*/
/* transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;*/
/*}*/
/*.slider-prev i.fa-solid.fa-chevron-right,*/
/*.slider-next i.fa-solid.fa-chevron-left{*/
/* opacity: 0 !important; /* Initially hidden */*/
/* padding: 10px !important;*/
/*}*/
/**/
/*.product-slider-container:hover .slider-prev i.fa-solid.fa-chevron-right,*/
/*.product-slider-container:hover .slider-prev i.fa-solid.fa-chevron-left{*/
/* opacity: 1; /* Show arrows on hover */*/
/*}*/
/**/
/*.slider-prev {*/
/* left: 10px;*/
/*}*/
/**/
/*.slider-next {*/
/* right: 10px;*/
/*}*/
/**/
/*@media (max-width: 768px) {*/
/* .slider-prev,*/
/* .slider-next {*/
/* opacity: 1; /* Always visible on mobile */*/
/* }*/
/*}*/
/**/
/*.slider-prev:hover, .slider-next:hover, .slider-next:focus, .slider-prev:focus {*/
/* color: #000000;*/
/* background-color: #cc336600;*/
/* text-decoration: none;*/
/* border: none !important;*/
/* outline: none !important;*/
/*}*/
.product-slider-container {
position: relative;
}
@ -98,6 +16,7 @@
position: absolute;
opacity: 0;
transition: opacity 0.5s ease-in-out;
z-index: -99 !important;
width: 100%;
height: auto !important;
}
@ -112,6 +31,7 @@
.slider-item img {
width: 100%;
height: auto !important;
z-index: -99 !important;
object-fit: contain;
display: block;
}
@ -198,3 +118,85 @@
}
}
/*.product-slider-container {*/
/* position: relative;*/
/*}*/
/**/
/*.product-image-slider {*/
/* position: relative;*/
/* display: flex;*/
/* overflow: hidden;*/
/* max-width: 600px;*/
/* margin: auto;*/
/**/
/*}*/
/**/
/*.slider-item {*/
/* position: absolute;*/
/* opacity: 0;*/
/* transition: opacity 0.5s ease-in-out;*/
/* width: 100%;*/
/* height: auto !important; /* Ensure images fit the aspect ratio */*/
/*}*/
/**/
/*.slider-item.active {*/
/* opacity: 1;*/
/* position: relative;*/
/*}*/
/**/
/*.slider-item img {*/
/* width: 100%;*/
/* height: auto !important; /* Stretch to fill the container while maintaining aspect ratio */*/
/* object-fit: contain; /* Maintain image aspect ratio within the container */*/
/* display: block;*/
/*}*/
/**/
/*.slider-prev, .slider-next {*/
/* position: absolute;*/
/* top: 10%;*/
/* transform: translateY(-10%);*/
/* background: none;*/
/* color: #424242;*/
/* border: none;*/
/* background-color: transparent !important;*/
/* cursor: pointer;*/
/* font-size: 16px;*/
/* padding: 0;*/
/* z-index: 10;*/
/* font-weight: 600;*/
/* transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;*/
/*}*/
/*.slider-prev i.fa-solid.fa-chevron-right,*/
/*.slider-next i.fa-solid.fa-chevron-left{*/
/* opacity: 0 !important; /* Initially hidden */*/
/* padding: 10px !important;*/
/*}*/
/**/
/*.product-slider-container:hover .slider-prev i.fa-solid.fa-chevron-right,*/
/*.product-slider-container:hover .slider-prev i.fa-solid.fa-chevron-left{*/
/* opacity: 1; /* Show arrows on hover */*/
/*}*/
/**/
/*.slider-prev {*/
/* left: 10px;*/
/*}*/
/**/
/*.slider-next {*/
/* right: 10px;*/
/*}*/
/**/
/*@media (max-width: 768px) {*/
/* .slider-prev,*/
/* .slider-next {*/
/* opacity: 1; /* Always visible on mobile */*/
/* }*/
/*}*/
/**/
/*.slider-prev:hover, .slider-next:hover, .slider-next:focus, .slider-prev:focus {*/
/* color: #000000;*/
/* background-color: #cc336600;*/
/* text-decoration: none;*/
/* border: none !important;*/
/* outline: none !important;*/
/*}*/

View file

@ -11,7 +11,7 @@
/**
* Define Constants
*/
define( 'CHILD_THEME_OONT_THEME_VERSION', '1.3.8' );
define( 'CHILD_THEME_OONT_THEME_VERSION', '1.3.9' );
define( 'SOFTOBA_RETURN_POST_TYPE', 'return_request' );
define( 'SOFTOBA_EXCHANGE_POST_TYPE', 'exchange_request' );
define('SOFTOBA_THEME_DIR', get_stylesheet_directory());

View file

@ -3,7 +3,7 @@ Theme Name: OONT THEME V last
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.3.8
Version: 1.3.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oont-theme