diff --git a/themes/oont-themev2/assets/css/alaskardev.css b/themes/oont-themev2/assets/css/alaskardev.css new file mode 100644 index 000000000..d10178cdd --- /dev/null +++ b/themes/oont-themev2/assets/css/alaskardev.css @@ -0,0 +1,49 @@ +/* AlaskarDev Changes */ +/** Title **/ +.elementor-widget-theme-post-title .elementor-heading-title { + font-size: 13px !important; + max-height: 20px !important; + text-decoration: none !important; +} +.elementor-widget-heading h1.elementor-heading-title { +line-height: 1em; +} +/** Price **/ +.elementor-widget-container .woocommerce-Price-amount { + font-size: 12px !important; + line-height: 2.5em !important; + color: gray !important; +} +/** Price line **/ +.elementor-10585 .elementor-element.elementor-element-c8163e6 .elementor-heading-title { + font-size: 12px !important; + color: red !important; + +} +/** Single Product Title **/ +.woocommerce-js div.product .product_title { + font-size: 16px; + line-height: 2.5em; +} +p { + text-align: left !important; + line-height: 1.2em; +} +p.price del { + color: red !important; +} +@media (max-width: 767px) { +.woocommerce-js div.product .product_title { + text-align: left !important; + margin: 0px 0px 0px 10px +} + +p.price { + text-align: left; + padding: 0px 0px 0px 42px; + display: flex-start; +} + +} + +/* End of AlaskarDev */ diff --git a/themes/oont-themev2/functions.php b/themes/oont-themev2/functions.php index fef62caea..4cf3b78de 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.0.0' ); +define( 'CHILD_THEME_OONT_THEME_VERSION', '1.1.0' ); define( 'SOFTOBA_RETURN_POST_TYPE', 'return_request' ); define( 'SOFTOBA_EXCHANGE_POST_TYPE', 'exchange_request' ); define('SOFTOBA_THEME_DIR', get_stylesheet_directory()); @@ -38,6 +38,10 @@ function softoba_enqueue_styles() { wp_enqueue_style( 'oont-theme-css', OB_CHILD_STYLE_URI . '/style.css', array('astra-theme-css'), CHILD_THEME_OONT_THEME_VERSION, 'all' ); wp_enqueue_style( 'oont-font-css', '//fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600&display=swap', array(), null, 'all' ); wp_enqueue_style( 'oont-custom-css', OB_CHILD_STYLE_URI . '/assets/css/custom.css', array('astra-theme-css'), CHILD_THEME_OONT_THEME_VERSION, 'all' ); + wp_enqueue_style( 'oont-alaskardev-css', OB_CHILD_STYLE_URI . '/assets/css/alaskardev.css', array('astra-theme-css'), CHILD_THEME_OONT_THEME_VERSION, 'all' ); + + + // Enqueue JS wp_enqueue_script( 'oont-script', OB_CHILD_STYLE_URI . '/assets/js/oont.js', array( 'jquery' ), CHILD_THEME_OONT_THEME_VERSION, true );