PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
besa
/
inc
/
customizer
<?php if ( ! defined('BESA_THEME_DIR')) exit('No direct script access allowed'); $theme_primary = require_once( get_parent_theme_file_path( BESA_INC . '/class-primary-color.php') ); $main_color = $theme_primary['color']; $main_bg = $theme_primary['background']; $main_border = $theme_primary['border']; $main_top_border = $theme_primary['border-top-color']; $main_right_border = $theme_primary['border-right-color']; $main_bottom_border = $theme_primary['border-bottom-color']; $main_left_border = $theme_primary['border-left-color']; /** * ------------------------------------------------------------------------------------------------ * Prepare CSS selectors for theme settions (colors, borders, typography etc.) * ------------------------------------------------------------------------------------------------ */ $output = array(); /*CustomMain color*/ $output['main_color'] = array( 'color' => besa_texttrim($main_color), 'background-color' => besa_texttrim($main_bg), 'border-color' => besa_texttrim($main_border), ); if( !empty($main_top_border) ) { $bordertop = array( 'border-top-color' => besa_texttrim($main_top_border), ); $output['main_color'] = array_merge($output['main_color'],$bordertop); } if( !empty($main_right_border) ) { $borderright = array( 'border-right-color' => besa_texttrim($main_right_border), ); $output['main_color'] = array_merge($output['main_color'],$borderright); } if( !empty($main_bottom_border) ) { $borderbottom = array( 'border-bottom-color' => besa_texttrim($main_bottom_border), ); $output['main_color'] = array_merge($output['main_color'],$borderbottom); } if( !empty($main_left_border) ) { $borderleft = array( 'border-left-color' => besa_texttrim($main_left_border), ); $output['main_color'] = array_merge($output['main_color'],$borderleft); } /*Theme color second*/ $output['main_color_second'] = array( 'background-color' => besa_texttrim('.tbay-search-form .button-group,.cart-dropdown .cart-icon span.mini-cart-items,.tbay-search-form .button-search:not(.icon) , .top-wishlist .count_wishlist , .singular-shop div.product.product-type-external .single_add_to_cart_button') ); /*Custom Fonts*/ $output['primary-font'] = array('body, p, .btn, .button, .rev-btn, .rev-btn:visited'); $output['secondary-font'] = array('h1, h2, h3, h4, h5, h6, .widget-title'); /*Background hover*/ $output['background_hover'] = $theme_primary['background_hover']; /*Tablet*/ $output['tablet_color'] = $theme_primary['tablet_color']; $output['tablet_background'] = $theme_primary['tablet_background']; $output['tablet_border'] = $theme_primary['tablet_border']; /*Mobile*/ $output['mobile_color'] = $theme_primary['mobile_color']; $output['mobile_background'] = $theme_primary['mobile_background']; $output['mobile_border'] = $theme_primary['mobile_border']; /*Header Mobile*/ $output['header_mobile_bg'] = array( 'background-color' => besa_texttrim('.topbar-device-mobile') ); $output['header_mobile_color'] = array( 'color' => besa_texttrim('.topbar-device-mobile i, .topbar-device-mobile.active-home-icon .topbar-title') ); return apply_filters( 'besa_get_output', $output);
[+]
..
[-] output.php
[edit]
[-] customizer.php
[edit]
[-] .customizer.php
[edit]
[-] custom-styles.php
[edit]
[-] custom-header.php
[edit]