From 0d6e76241684a1c512859046e13dbe9fb15f388f Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Mon, 31 Mar 2025 23:58:00 +0300 Subject: [PATCH] complete the look img size --- themes/oont-themev2/assets/css/alaskardev.css | 4 +++- themes/oont-themev2/assets/css/product-slider.css | 4 ++-- themes/oont-themev2/functions.php | 2 +- themes/oont-themev2/style.css | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/themes/oont-themev2/assets/css/alaskardev.css b/themes/oont-themev2/assets/css/alaskardev.css index 24d267566..c52f4abe9 100644 --- a/themes/oont-themev2/assets/css/alaskardev.css +++ b/themes/oont-themev2/assets/css/alaskardev.css @@ -88,8 +88,10 @@ p.price { .woocommerce ul.products li.product img { display: flex; width: 100%; - height: auto; /* Allow the image to scale proportionally */ + height: 100%; /* Allow the image to scale proportionally */ max-height: 450px; /* Set a max height for the image (adjust as needed) */ + max-width: none; + object-fit: cover; /* Crop edges if the image is too tall/wide */ object-position: top; /* Align the image to the top */ } diff --git a/themes/oont-themev2/assets/css/product-slider.css b/themes/oont-themev2/assets/css/product-slider.css index 9027526d4..a66deab32 100644 --- a/themes/oont-themev2/assets/css/product-slider.css +++ b/themes/oont-themev2/assets/css/product-slider.css @@ -33,8 +33,8 @@ .slider-prev, .slider-next { position: absolute; - top: 50%; - transform: translateY(-50%); + top: 10%; + transform: translateY(-10%); background: none; color: #424242; border: none; diff --git a/themes/oont-themev2/functions.php b/themes/oont-themev2/functions.php index 133971da7..6df742f32 100644 --- a/themes/oont-themev2/functions.php +++ b/themes/oont-themev2/functions.php @@ -11,7 +11,7 @@ /** * Define Constants */ -define( 'CHILD_THEME_OONT_THEME_VERSION', '1.3.2' ); +define( 'CHILD_THEME_OONT_THEME_VERSION', '1.3.3' ); define( 'SOFTOBA_RETURN_POST_TYPE', 'return_request' ); define( 'SOFTOBA_EXCHANGE_POST_TYPE', 'exchange_request' ); define('SOFTOBA_THEME_DIR', get_stylesheet_directory()); diff --git a/themes/oont-themev2/style.css b/themes/oont-themev2/style.css index 523b0beaf..aee2314a1 100644 --- a/themes/oont-themev2/style.css +++ b/themes/oont-themev2/style.css @@ -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.2 +Version: 1.3.3 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: oont-theme