????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.14.67.90 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.astacus.eu/wp-content/themes/Avada/includes/typography/ |
Upload File : |
<?php /** * This file contains typography styles for WooCommerce plugin */ // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Direct script access denied.' ); } /** * WooCommerce css classes that inherit Avada's body typography settings. * * @param array $typography_elements An array of all typography elements. * @return array */ function avada_woocommerce_body_typography( $typography_elements ) { if ( class_exists( 'WooCommerce' ) ) { $typography_elements['color'][] = '.quantity'; $typography_elements['color'][] = '.quantity .qty'; $typography_elements['color'][] = '.quantity .minus'; $typography_elements['color'][] = '.quantity .plus'; $typography_elements['family'][] = '.woocommerce-success-message .button'; $typography_elements['family'][] = '.woocommerce .shipping-calculator-form .button'; $typography_elements['family'][] = '.widget.woocommerce .product-title'; } return $typography_elements; } add_filter( 'avada_body_typography_elements', 'avada_woocommerce_body_typography' ); /** * WooCommerce css classes that inherit Avada's H1 typography settings. * * @param array $typography_elements An array of all typography elements. * @return array */ function avada_woocommerce_h1_typography( $typography_elements ) { if ( class_exists( 'WooCommerce' ) ) { $typography_elements['color'][] = '.woocommerce-success-message .msg'; $typography_elements['color'][] = '.woocommerce-message'; $typography_elements['family'][] = '.woocommerce-success-message .msg'; } return $typography_elements; } add_filter( 'avada_h1_typography_elements', 'avada_woocommerce_h1_typography' ); /** * WooCommerce css classes that inherit Avada's H2 typography settings. * * @param array $typography_elements An array of all typography elements. * @return array */ function avada_woocommerce_h2_typography( $typography_elements ) { if ( class_exists( 'WooCommerce' ) ) { $typography_elements['size'][] = '#wrapper .woocommerce .checkout h3'; $typography_elements['size'][] = '.woocommerce .checkout h3'; $typography_elements['color'][] = '.cart-empty'; $typography_elements['color'][] = '.woocommerce-tabs h2'; $typography_elements['color'][] = '.woocommerce h2'; $typography_elements['color'][] = '.woocommerce .checkout h3'; $typography_elements['family'][] = '.cart-empty'; } return $typography_elements; } add_filter( 'avada_h2_typography_elements', 'avada_woocommerce_h2_typography' ); /** * WooCommerce css classes that inherit Avada's H3 typography settings. * * @param array $typography_elements An array of all typography elements. * @return array */ function avada_woocommerce_h3_typography( $typography_elements ) { if ( class_exists( 'WooCommerce' ) ) { $typography_elements['color'][] = '.woocommerce-container .product-title'; $typography_elements['family'][] = '.woocommerce-container .product-title'; $typography_elements['size'][] = '.woocommerce-container .product-title'; $typography_elements['size'][] = 'p.demo_store'; $typography_elements['color'][] = '.woocommerce-tabs .entry-content h3'; $typography_elements['family'][] = '.woocommerce-tabs .entry-content h3'; $typography_elements['weight'][] = '.woocommerce-tabs .entry-content h3'; $typography_elements['color'][] = '.upsells.products h3'; $typography_elements['family'][] = '.upsells.products h3'; $typography_elements['weight'][] = '.upsells.products h3'; $typography_elements['color'][] = '.related.products h3'; $typography_elements['family'][] = '.related.products h3'; $typography_elements['weight'][] = '.related.products h3'; } return $typography_elements; } add_filter( 'avada_h3_typography_elements', 'avada_woocommerce_h3_typography' ); /** * WooCommerce css classes that inherit Avada's button typography settings. * * @param array $typography_elements An array of all typography elements. * @return array */ function avada_woocommerce_button_typography( $typography_elements ) { if ( class_exists( 'WooCommerce' ) ) { $typography_elements['family'][] = '.woocommerce .single_add_to_cart_button'; $typography_elements['family'][] = '.woocommerce button.button'; $typography_elements['family'][] = '.woocommerce .avada-shipping-calculator-form .button'; $typography_elements['family'][] = '.woocommerce .checkout #place_order'; // TODO 11px. $typography_elements['family'][] = '.woocommerce .checkout_coupon .button'; // TODO 11px. $typography_elements['family'][] = '.woocommerce .login .button'; $typography_elements['family'][] = '.woocommerce .register .button'; $typography_elements['family'][] = '.woocommerce .avada-order-details .order-again .button'; $typography_elements['family'][] = '.woocommerce .track_order .button'; } return $typography_elements; } add_filter( 'avada_button_typography_elements', 'avada_woocommerce_button_typography' ); /* Omit closing PHP tag to avoid "Headers already sent" issues. */